2 ms·
Our 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 batter
by yoz-y 10y ago
Our 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.