I'm developing an universal windows app on Windows 10. I need to get System Power States programmatically but I can't find any solutions for that. As it's mentioned in this question there is Microsoft.Win32.SystemEvents.PowerModeChanged
but is not available in Windows 10.
Any suggestions are appreciated.