If you do decide to store the secret in localStorage, you will want to make sure you never store the cleartext session key there. I'm not familiar with openpgpjs, but it probably facilitates secure storage of keys (some form of keyring class I guess).

Security of running openpgp.js in a browser with the private key in HTML5 localStorage
My laptop has a 6 cell Lithium Ion Battery. Even when the battery is fully charged it shows the battery charge status at 0%. As a result if there is a power loss (when I want to move the laptop from one place to another) it immediately goes into hibernation. 



However, when I restart the laptop WITHOUT plugging in the power, it starts and the battery meter shows some figure like 95-96% remaining. The battery then runs for almost an hour and a half.

The laptop is around 2 years old. 

How can I rectify this issue? 
