powermgmt-base binary package in Ubuntu Focal amd64
This package ships "on_ac_power" which lets you determine whether
the system is powered from battery or an abundant supply. It's
recommended to use this tool over a simple sysfs check,
ConditionACPower or other ad-hoc methods which notoriously fail to
account for unobvious quirks, both old and new.
Publishing history
Date | Status | Target | Component | Section | Priority | Phased updates | Version | ||
---|---|---|---|---|---|---|---|---|---|
2019-10-18 09:15:30 UTC | Published | Ubuntu Focal amd64 | release | main | utils | Standard | 1.36 | ||
|