3 ms·
Whoa, what's the use case for exposing battery information?
by wyldfire 11y ago
Whoa, what's the use case for exposing battery information?
- erlichmen 11y agoSome 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.
- raarts 11y agoThe Great Suspender is an example of this. Auto-sleeps browser tabs when on battery. https://chrome.google.com/webstore/detail/the-great-suspender/klbibkeccnjlkjkiokjodocebajanakg?hl=en https://chrome.google.com/webstore/detail/the-great-suspende...
- cpeterso 11y agoSharing the battery information with a browser extension seems reasonable, but are there any websites that actually use the battery information for legitimate user benefit?
- kuschku 11y agoWait until you see WebUSB[1]. The use case is Chrome OS, not much more. [1] https://news.ycombinator.com/item?id=11465924 https://news.ycombinator.com/item?id=11465924
- mschuster91 11y agoWeb apps, "half native" web apps (Appcache + show on homescreen link) and ionic/cordova apps running in fullscreen mode. E.g. a geocaching app could benefit by signaling the user if battery goes low (Ingress is a battery hog, for example!)