aboutsummaryrefslogtreecommitdiff
path: root/lowbat.1
blob: 635e596bd3bb3b854aa4a5f8c1135e0438bedf4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.TH LOWBAT 1 lowbat\-1.0
.SH NAME
lowbat - A minimal battery level monitor daemon, written in C
.SH DESCRIPTION
lowbat is configured by default to check the system battery level every 3
seconds. It is able to detect each battery installed and the system, and
calculate the remaining capacity of all batteries combined. Batteries added to
the system during runtime will also be detected.
.P
The daemon will send a warning notification the user when their battery level
drops below 20% while the batteries are discharging, and another critical
warning at 5%.
.P
The current battery level will also be displayed in stdout.
.SH USAGE
Call the lowbat executable in your
.B
xinitrc
or
.B
xprofile.
.SH CUSTOMIZATION
There are no runtime flags or configuration files. Simply modify the source
code to suit your needs.
.SH COPYRIGHT
Copyright 2024 Tim Keller.
MIT License.
.P
.P
<https://TJKeller.xyz>
.SH SEE ALSO
.BR notify-send(1)
.P
.BR <https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-power>