https://bugzilla.kernel.org/show_bug.cgi?id=54621

           Summary: Kernel doesn't produce any power related uevents on HP
                    Folio 13-2000
           Product: ACPI
           Version: 2.5
    Kernel Version: 3.7.9
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Power-Battery
        AssignedTo: acpi_power-batt...@kernel-bugs.osdl.org
        ReportedBy: pub...@stefan-nagy.at
        Regression: No


No matter if I'm on battery (discharging) or have the ac adapter plugged in
(charging), if I'm plugging the ac adapter in or out – I don't see any power
related uevents from the kernel with 'udevadm monitor' or 'udevadm monitor
--kernel'. I also tried to change the logging priority of udevadm with 'udevadm
control --log-priority=debug' – without any luck.

Since the kernel sends no power related uevents, UPower doesn't update the
status of the ac adapter (un/plugged). The value 'Updated' for device
/org/freedesktop/UPower/devices/line_power_ACAD reported by UPower will always
be similar to uptime, no matter how long that is and how often I un/plugged the
ac adapter in the meantime. When I booted with the ac adapter plugged in and at
some point I plug it out and decided to work on battery my notebook will never
be sent into hibernation because UPower thinks the ac adapter is still plugged
in. I guess UPower expects an uevent from the kernel.

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

I'm sorry for opening this bug report while #54241 is still open, but it seems
to me that these are two separate issues. Feel free to close one of those two
bugs, if you think that this symptoms are caused by the same bug. You'll find
relevant log files at #54241, please tell me if you need more information.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to