slackbuilds/desktop/fdpowermon
Vladislav 'fsLeg' Borisov 29d3ebe326 desktop/fdpowermon: Added (Show Battery Info).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2025-01-04 07:10:57 +07:00
..
README desktop/fdpowermon: Added (Show Battery Info). 2025-01-04 07:10:57 +07:00
fdpowermon.SlackBuild desktop/fdpowermon: Added (Show Battery Info). 2025-01-04 07:10:57 +07:00
fdpowermon.info desktop/fdpowermon: Added (Show Battery Info). 2025-01-04 07:10:57 +07:00
slack-desc desktop/fdpowermon: Added (Show Battery Info). 2025-01-04 07:10:57 +07:00

README

fdpowermon is a simple perl script that installs an icon in a system
tray compatible with the freedesktop.org specification.

Every three seconds, fdpowermon calls acpi to find out what the current
battery level is. It will set the output of the acpi command as a
tooltip text, and will update the used icon as appropriate.

In addition, fdpowermon can optionally call perl subroutines when the
power reaches a given level. No such subroutines are provided or
enabled by default, however.

Features:
- minimalist. The code consists of a good 500 lines, most of which are
  documentation and comments.
- A power monitor, not a power manager.
- The ability (not enabled by default) to suspend a laptop on low power
  levels, or do other tasks when the battery reaches a particular level.