Hacker News new | ask | show | jobs
by erlichmen 3690 days ago
Some application want access to the battery info as they might want to disable some functionality in case your battery runs low. It would be smarter if instead of giving exact battery level it will get a callback once the battery runs low.
1 comments

The Great Suspender is an example of this. Auto-sleeps browser tabs when on battery.

https://chrome.google.com/webstore/detail/the-great-suspende...

Sharing the battery information with a browser extension seems reasonable, but are there any websites that actually use the battery information for legitimate user benefit?