The System struct contains the Power struct, which give information about your current battery and several other informations about your system, like the available RAM.
See Source File