Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm rather sad that for example Battery API is deprecated... possibly might need a browser-wide toggle, but still... It can both be cool, and useful....mostly cool, though... you could have a complete web desktop (there several web desktops, and even more "fake" ones, like windows93) that shows the status, or a webpage that switches to dark mode with minimal javascript and theming, when battery is low, or a low distraction writing environment for example, that still notifies you of low battery, etc... more and more people are using battery-powered devices ;)


> a webpage that switches to dark mode with minimal javascript and theming, when battery is low

Please don't arbitrarily change the theme of the website I'm using based on my battery level.

> a low distraction writing environment for example, that still notifies you of low battery

My system does this.


> Please don't arbitrarily change the theme of the website I'm using based on my battery level.

Yeah, just base your theme off of the dark mode setting. Then if the _system_ changes to dark mode when battery is low, your app can follow suite.


IIRC I think it was because it was used to fingerprint browsers




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: