summary refs log tree commit diff
path: root/bin/man/fbatt.1
blob: 2d30cba7b7539563513729fd8600598e2437d166 (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
28
29
30
31
32
33
34
.Dd September 7, 2018
.Dt FBATT 1
.Os
.
.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 path.
.El
.
.Sh FILES
.Bl -tag
.It Pa /dev/fb0
The default framebuffer device path.
.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