battery

Homepage: https://www.gnu.org/software/emacs

Author: Ralph Schleicher

Summary

Display battery status information

Commentary

There is at present support for GNU/Linux, BSD, macOS, and Windows.
This library supports:
- UPower (https://upower.freedesktop.org) via D-Bus API.
- The `/sys/class/power_supply/' files of Linux >= 2.6.39.
- The `/proc/acpi/' directory structure of Linux 2.4.20 and 2.6.
- The `/proc/apm' file format of Linux version 1.3.58 or newer.
- The Haiku ACPI battery driver.
- BSD by using the `apm' program.
- Darwin (macOS) by using the `pmset' program.
- Windows via the GetSystemPowerStatus API call.
- Android via the BatteryManager APIs.

Dependencies

Reverse dependencies