mirror of https://github.com/lcpz/lain.git
Updated bat (markdown)
This commit is contained in:
parent
9afb2b28aa
commit
ef85d5638f
7
bat.md
7
bat.md
|
@ -15,7 +15,12 @@ Variable | Meaning | Type | Default
|
||||||
`battery` | Identifier of the battery | string | "BAT0"
|
`battery` | Identifier of the battery | string | "BAT0"
|
||||||
`settings` | User settings | function | empty function
|
`settings` | User settings | function | empty function
|
||||||
|
|
||||||
`settings` can use the `bat_now` table, which contains the following strings: `status`, `perc`, `time`, `watt`.
|
`settings` can use the `bat_now` table, which contains the following strings:
|
||||||
|
|
||||||
|
- `status` ("Not present", "Charging", "Discharging");
|
||||||
|
-`perc`;
|
||||||
|
- `time`;
|
||||||
|
- `watt`.
|
||||||
|
|
||||||
### output
|
### output
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue