3 ms·It's written in C# with PInvoke code to call the underlying Win32 APIs for the battery status.by Osiris 11y agoIt's written in C# with PInvoke code to call the underlying Win32 APIs for the battery status.