power level

The <power level> inspectors provide exposure to the underlying batter and power information used by low-power modes. On Windows, this uses the GetSystemPowerStatus system call, and on OSX, it uses the IOPSCopyPowerSourcesList functionality.

Version Platforms
8.0.584.0 AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows
8.1.535.0 Debian, Ubuntu

Creation

power level : power level

Properties

full of <power level> : boolean
low of <power level> : boolean
normal of <power level> : boolean
plugged of <power level> : boolean
ups of <power level> : boolean

Casts

<power level> as string : string