2 ms·
Hum, I hope this API will stay there at least in Electron as we need it for our application.
by yoz-y 10y ago
Hum, I hope this API will stay there at least in Electron as we need it for our application.
- jasonkostempski 10y agoI haven't seen a convincing use case for the feature yet, any chance you can share what you "need" it for?
- yoz-y 10y agoOur application connects to a device that has very low tolerance for electrical interference, which means that the computer it is connected to must be on battery power. If we detect that the power supply is connected we disable the application. Also, we disable the application when the power is low, so the computer does not shut down in the middle of a session. Of course if anything happens to the API it is not that hard to bring it back via a native Electron plugin, I would just prefer not to have to do it.