I'm having a similar issue on Ubuntu 20.04 on a Lenovo P340, which is a
desktop workstation system and thus doesn't even have any capability for
battery operation without an external UPS.  I'm attaching a copy of
selected directories in /sys and /proc that the script inspects.

** Attachment added: "Tar of selected directories in /sys and /proc"
   
https://bugs.launchpad.net/ubuntu/+source/powermgmt-base/+bug/1823521/+attachment/5515514/+files/on_ac_power_bug.tgz

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to powermgmt-base in Ubuntu.
https://bugs.launchpad.net/bugs/1823521

Title:
  on_ac_power returns 1 if battery is not present

Status in Xfce4 Power Manager:
  New
Status in powermgmt-base package in Ubuntu:
  Confirmed

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfce4-power-manager/+bug/1823521/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to