07-20-2019, 06:02 AM
But is there a way for the operating system to know what the current power source is? For the purpose of a script that would notify if DC power is lost and the system is now running on battery? Alternatively can the operating system know what the battery level is?