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
c?id=90b47ca285a6fa0b970e338afa723606cfe68c53&follow=1'>Set line number on File linesJune McEnroe 2022-06-03Stop polling stdin after EOFJune McEnroe 2022-06-02Set TABSIZE=4June McEnroe 2022-06-02Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe