on_ac_power returns 1 if battery is not present

Bug #1823521 reported by Jarno Suni on 2019-04-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xfce4 Power Manager
New
Undecided
Unassigned
powermgmt-base (Ubuntu)
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
ProcVersionSignature: Ubuntu 4.18.0-17.18~18.04.1-generic 4.18.20
Uname: Linux 4.18.0-17-generic x86_64
NonfreeKernelModules: wl nvidia
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)
PackageArchitecture: all
SourcePackage: powermgmt-base
UpgradeStatus: No upgrade log present (probably fresh install)

Jarno Suni (jarnos) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers