1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

50 lines
858 B
Markdown

---
title: "Modules: Power"
date: 2018-05-26T19:26:23-07:00
draft: false
---
Displays information about the current power source.
For battery, also displays the current charge, estimated time remaining,
and whether it is charging or discharging.
## Source Code
```bash
wtf/power/
```
## Required ENV Variables
None.
## Keyboard Commands
None.
## Configuration
```yaml
power:
enabled: true
position:
top: 5
left: 0
height: 2
width: 1
refreshInterval: 15
```
### Attributes
`enabled` <br />
Determines whether or not this module is executed and if its data displayed onscreen. <br />
Values: `true`, `false`.
`position` <br />
Defines where in the grid this module's widget will be displayed. <br />
`refreshInterval` <br />
How often, in seconds, this module will update its data. <br />
Values: A positive integer, `0..n`.