Power

power screenshot

Displays information about the current power source.

For battery, also displays the current charge, estimated time remaining, and whether it is charging or discharging.

Configuration

power:
  enabled: true
  position:
    top: 5
    left: 0
    height: 2
    width: 1
  refreshInterval: 15

Attributes

enabled
Determines whether or not this module is executed and if its data displayed onscreen.
Values: true, false.

position
Defines where in the grid this module’s widget will be displayed.

refreshInterval
How often, in seconds, this module will update its data.
Values: A positive integer, 0..n.

Source Code

wtf/power/