summary refs log tree commit diff
path: root/bin/fbatt.1
blob: 3f78fa902a5cb7709915571764677e43b3431d0c (plain) (blame)
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
.Dd $Mdocdate$
.Dt FBATT 1
.Sh NAME
.Nm fbatt
.Nd framebuffer battery indicator
.Sh SYNOPSIS
.Nm
.Sh DESCRIPTION
.Nm
displays a battery charge indicator
in the top-right corner
of the Linux framebuffer.
.Sh ENVIRONMENT
.Bl -tag
.It Ev FRAMEBUFFER
The framebuffer device. By default,
.Pa /dev/fb0 .
.El
.Sh FILES
.Bl -tag
.It Pa /sys/class/power_supply
The first subdirectory containing
.Pa charge_full
and
.Pa charge_now
is used to read the battery charge.
.El