summary refs log tree commit diff
path: root/bin/man1/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
McEnroe 2019-02-10Don't match DQ string inside SQ stringJune McEnroe 2019-02-10Skip only one character if a match fails due to parentJune McEnroe Really it should skip forward until the parent changes, but this is simpler. 2019-02-10Remove pattend from hiJune McEnroe 2019-02-10Replace uses of pattend with newline patternsJune McEnroe 2019-02-10Add hi debug outputJune McEnroe 2019-02-10Actually do HTML " escapingJune McEnroe 2019-02-10Set git commit.verboseJune McEnroe 2019-02-10Add back missing static keywordJune McEnroe