At least in my case the kernel doesn't produce any uevents for the
battery or the ac adapter, so I filed a bug report against the kernel.

UPower seems to force an update of the battery status every 30 seconds,
so the charging level reported by GNOME battery status applet
corresponds to the one reported in /sys/class/power_supply/BAT1/uevent
(POWER_SUPPLY_CAPACITY). 'upowerd --verbose' tells me: 'No updates on
supply /org/freedesktop/UPower/devices/battery_BAT1 for 30 seconds;
forcing update'.

However, UPower doesn't force an update of the ac adapter status
(un/plugged), so that's why my notebook wouldn't go into hibernation
when the time defined in /org/gnome/settings-daemon/plugins/power/time-
action is reached.

Since UPower seems to expect the kernel to send uevents for the battery
and the ac adapter, I filed a report against the kernel:
https://bugzilla.kernel.org/show_bug.cgi?id=54621.

As I understand it all that remains here is the reqeust that UPower
should force an update of the line_power device in case the kernel fails
to send an uevent. If if this is correct it would make sense to change
the title.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/994745

Title:
  Power indicator fails to recognise unplug

Status in The Linux Kernel:
  Unknown
Status in Upower:
  Confirmed
Status in “linux” package in Ubuntu:
  New
Status in “upower” package in Ubuntu:
  Confirmed
Status in “linux” package in Debian:
  Confirmed

Bug description:
  Upon unplugging the power on HP Folio 13 running Precise the power indicator 
fails to recognise the unplug. 
  The charging laptop symbol remains. Power-statistics also becomes 
unresponsive/empty of data.

  Powertop recognises the unplug, but Jupiter which I have installed
  does not.

  If I suspend and resume or restart, the fact that I am on battery
  power is once again recognised.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: indicator-power 2.0-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-24.38-generic 3.2.16
  Uname: Linux 3.2.0-24-generic x86_64
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Fri May  4 11:00:11 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
  ProcEnviron:
   LANGUAGE=en_CA:en
   TERM=xterm
   PATH=(custom, user)
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  SourcePackage: indicator-power
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/994745/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to