Battery

Sample

 "measures":{
    "battery":{
      "name":"battery1",
      "title":"Battery",
     },
  }

download excample widget from here :

Information

  • Measure Type: battery

  • Description: "battery" measure used to display the battery information of your computer

Propertys

isCharging

if battery is charging will return string "true". otherwise return "false"

state

the state of battery,the value is include: Online , Offline , Unknown

stateNum

0=Online ; 1=Offline; 255=Unknown

percent

Battery remaining percentage value 0~100

tenth

Battery remaining tenth value 0~10

lifetime

Battery remaining lifetime string

fulltime

Battery fulltime

Last updated