[Bug 1008050] Re: After resume from suspend, power-indicator is unaware of battery changes
I'm having this issue - however unplugging the charging cable immediately updates the correct percentage. I'm running Ubuntu 16.04 LTS and I've put in some Unity tweaks, but this shouldn't matter. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1008050 Title: After resume from suspend, power-indicator is unaware of battery changes To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/1008050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1008050] Re: After resume from suspend, power-indicator is unaware of battery changes
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: upower (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1008050 Title: After resume from suspend, power-indicator is unaware of battery changes To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/1008050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1008050] Re: After resume from suspend, power-indicator is unaware of battery changes
Also under 16.04 I see the acpi(1) command and /sys paths work to get the status fine: cwb@vagabond:~/$ cat /sys/class/power_supply/BAT0/status Full cwb@vagabond:~/$ acpi Battery 0: Full, 100% -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1008050 Title: After resume from suspend, power-indicator is unaware of battery changes To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/1008050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1008050] Re: After resume from suspend, power-indicator is unaware of battery changes
User visible upower -e output: cwb@vagabond:~/$ upower -e (upower:17782): libupower-glib-WARNING **: up_client_get_devices failed: Timeout was reached Segmentation fault (core dumped) ** Attachment added: "strace -f output of upower -e" https://bugs.launchpad.net/ubuntu/+source/indicator-power/+bug/1008050/+attachment/4678290/+files/upower_e.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1008050 Title: After resume from suspend, power-indicator is unaware of battery changes To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/1008050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1008050] Re: After resume from suspend, power-indicator is unaware of battery changes
I can confirm I still see this (or particularly do not see the state update after resume from sleep) on an Acer C720p in 16.04 as well; I had previously seen it in 15.10 on this machine but have seen it work on a modified 14.04 sometime ago. The upower -d suggestion is not working for me (and running upower --monitor has no state changes when plugging/unplugging), nor is running gnome-power-statistics (it eventually fails with the following). Failure of gnome-power-statistics: (gnome-power-statistics:17074): libupower-glib-WARNING **: up_client_get_devices failed: Timeout was reached If I run upower -e to enumerate power sources I end up with a segmentation fault. I'll post the strace output as an attachment. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1008050 Title: After resume from suspend, power-indicator is unaware of battery changes To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/1008050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1008050] Re: After resume from suspend, power-indicator is unaware of battery changes
I'm not able to reproduce this in 13.10. There does appear to be a minor bug in UPower in that we're not getting a resume-from-suspend signal from it; however, I am seeing it update its devices right after we resume from suspend anyway. So even without the resume signal, the outcome is that I'm still seeing the devices get fresh information after we resume. I'm marking this ticket as incomplete. Please reopen this ticket with more information if the problem persists for you. ** Changed in: indicator-power Status: Confirmed = Incomplete ** Changed in: indicator-power (Ubuntu) Status: Confirmed = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1008050 Title: After resume from suspend, power-indicator is unaware of battery changes To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/1008050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1008050] Re: After resume from suspend, power-indicator is unaware of battery changes
Is that still an issue in the current version? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1008050 Title: After resume from suspend, power-indicator is unaware of battery changes To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/1008050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1008050] Re: After resume from suspend, power-indicator is unaware of battery changes
could you run upower -d wait some minutes and run it again and add the logs to the bug? is the percentage updated? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1008050 Title: After resume from suspend, power-indicator is unaware of battery changes To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/1008050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1008050] Re: After resume from suspend, power-indicator is unaware of battery changes
Thanks for replying Sebastien, upower -d seems to awaken the indicator! Great discovery, I can invoke the command in a script inside /usr/lib /pm-utils/sleep.d/ so we may have a workaraound! Anyway, please find attached the upower -d results, but I think they don't matter since indicator is also working after the first upower -d. ** Attachment added: upower -d result1 https://bugs.launchpad.net/ubuntu/+source/indicator-power/+bug/1008050/+attachment/3179422/+files/upower_d_1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1008050 Title: After resume from suspend, power-indicator is unaware of battery changes To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/1008050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1008050] Re: After resume from suspend, power-indicator is unaware of battery changes
** Attachment added: upower -d result2 https://bugs.launchpad.net/ubuntu/+source/indicator-power/+bug/1008050/+attachment/3179423/+files/upower_d_2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1008050 Title: After resume from suspend, power-indicator is unaware of battery changes To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/1008050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1008050] Re: After resume from suspend, power-indicator is unaware of battery changes
** Also affects: upower (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1008050 Title: After resume from suspend, power-indicator is unaware of battery changes To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/1008050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1008050] Re: After resume from suspend, power-indicator is unaware of battery changes
FYI this is still happening on a fully updated 12.04 installation. It was also a problem in 11.10 and probably earlier. gnome-power-manager version: 3.4.0-0ubuntu1 indicator-power version: 2.0-0ubuntu1 upower version: 0.9.15-3git1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1008050 Title: After resume from suspend, power-indicator is unaware of battery changes To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/1008050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1008050] Re: After resume from suspend, power-indicator is unaware of battery changes
** Changed in: indicator-power Status: New = Confirmed ** Changed in: indicator-power (Ubuntu) Status: New = Confirmed ** Changed in: indicator-power Importance: Undecided = Medium ** Changed in: indicator-power Importance: Medium = Low ** Changed in: indicator-power (Ubuntu) Importance: Undecided = Medium ** Changed in: indicator-power Importance: Low = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1008050 Title: After resume from suspend, power-indicator is unaware of battery changes To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/1008050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1008050] Re: After resume from suspend, power-indicator is unaware of battery changes
** Project changed: indicator-power = indicator-power (Ubuntu) ** Also affects: indicator-power Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1008050 Title: After resume from suspend, power-indicator is unaware of battery changes To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/1008050/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs