on_ac_power returns 1 if battery is not present
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xfce4 Power Manager |
New
|
Undecided
|
Unassigned | ||
powermgmt-base (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
on_ac_power should return 0 (as exit code).
Besides Xfce Power Manager tells in Devices tab that Line power is "Not plugged in".
Tested by an old Macbook.
(I don't have battery to test with.)
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: powermgmt-base 1.33
ProcVersionSign
Uname: Linux 4.18.0-17-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: XFCE
Date: Sun Apr 7 14:02:36 2019
Dependencies:
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-01-05 (821 days ago)
InstallationMedia: Xubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
PackageArchitec
SourcePackage: powermgmt-base
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.