mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-20 21:43:19 -07:00
usr/lib/byobu/battery, usr/share/man/man1/byobu.1: allow for
overriding detected BATTERY, LP: #693560
This commit is contained in:
parent
1997b0737b
commit
26b830e8ae
3 changed files with 4 additions and 2 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -12,6 +12,8 @@ byobu (3.20) unreleased; urgency=low
|
|||
- add an option for -n|--no-logout to byobu-launcher-install,
|
||||
document changes in new manpages, LP: #604931
|
||||
* usr/lib/byobu/cpu_temp: find the temp monitor, LP: #676080
|
||||
* usr/lib/byobu/battery, usr/share/man/man1/byobu.1: allow for
|
||||
overriding detected BATTERY, LP: #693560
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 28 Dec 2010 00:05:13 -0600
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ if [ "$1" = "--detail" ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
for bat in /proc/acpi/battery/*; do
|
||||
for bat in $BATTERY /proc/acpi/battery/*; do
|
||||
# make sure that this battery is present
|
||||
infofile=$(cat "$bat/info")
|
||||
present=$(search "$infofile" "present: *\(.*\)")
|
||||
|
|
|
@ -20,7 +20,7 @@ Note that DATA=\fI$HOME/.byobu\fP.
|
|||
|
||||
\fBarch\fP \- system architecture; displayed on the lower bar toward the left, in the default text color on the default background color
|
||||
|
||||
\fBbattery\fP \- battery information; display on the lower bar toward the right; |\-| indicates discharging, |+| indicates charging, |=| indicates fully charged; when charging or discharging, the current battery capacity as a percentage is displayed; the colours green, yellow, and red are used to give further indication of the battery's charge state
|
||||
\fBbattery\fP \- battery information; display on the lower bar toward the right; |\-| indicates discharging, |+| indicates charging, |=| indicates fully charged; when charging or discharging, the current battery capacity as a percentage is displayed; the colours green, yellow, and red are used to give further indication of the battery's charge state; you may override the detected battery by setting BATTERY=/proc/acpi/battery/BAT0 in \fI$DATA/statusrc\fP
|
||||
|
||||
\fBcpu_count\fP \- the number of cpu's or cores on the system; displayed in the lower bar toward the right in the default text color on the default background, followed by a trailing 'x'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue