upower takes long time to detect laptop AC charger plugged in

Bug #1967565 reported by Balanarayan K
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Upower
Fix Released
Unknown
upower (Ubuntu)
Triaged
Low
Unassigned

Bug Description

upower takes a really long time (around 1-2 minutes) to detect when an AC charger is plugged-in.
'upower -d' shows battery state as discharging after AC charger is plugged-in.
'systemctl restart upower.service' would update the status immediately as charging. Otherwise, it takes 1-2 minutes before upower updates the status.

Laptop Model: Acer Aspire E15 E5-573G-56JN

Laptop battery and AC charger is not faulty as the charging/discharging status gets correctly detected when using Windows 10.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: upower 0.99.11-1build2
ProcVersionSignature: Ubuntu 5.13.0-39.44~20.04.1-generic 5.13.19
Uname: Linux 5.13.0-39-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
Date: Fri Apr 1 23:07:12 2022
ExecutablePath: /usr/lib/upower/upowerd
InstallationDate: Installed on 2022-04-01 (0 days ago)
InstallationMedia: Ubuntu 20.04.4 LTS "Focal Fossa" - Release amd64 (20220223)
ProcEnviron:
 LANG=en_IN
 LANGUAGE=en_IN:en
 PATH=(custom, no user)
SourcePackage: upower
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Balanarayan K (aboutbk) wrote :
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, could you report the issue upstream on https://gitlab.freedesktop.org/upower/upower/-/issues ?

Changed in upower (Ubuntu):
importance: Undecided → Low
Revision history for this message
Balanarayan K (aboutbk) wrote :

Thank you for your suggestion. I have reported the issue upstream here:
https://gitlab.freedesktop.org/upower/upower/-/issues/179

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks!

Changed in upower (Ubuntu):
status: New → Triaged
Changed in upower:
status: Unknown → Fix Released
Revision history for this message
Balanarayan K (aboutbk) wrote :

Hi,

upower 0.99.18 version contains the fix for this. Are there plans to integrate this version to Ubuntu 20.04?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.