Hacker News new | past | comments | ask | show | jobs | submit login

I suppose you're doing what might be a resource intensive task and want to be sure you don't kill the battery.

Granted I get folks might feel a rando website that is resource intensive would be horrific, but maybe we're talking about some specific web app / use case.






Even so, I think battery API is not the proper way to do it. Some sort of interrupt command (like UNIX has) may be better.



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

Search: