| Summary: | System does not recognize it's on battery, laptop lid close action not triggered, upower "on-battery: no" even though it's on battery | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Basic Six <drbasic6> |
| Component: | kdeplasmoids | Assignee: | Orphan Owner <extras-orphan> |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 25 | CC: | alan.christopher.jenkins, extras-orphan |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-12-12 10:16:14 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Basic Six
2016-11-26 13:35:08 UTC
After upgrading to Fedora 25, it looks like the bug has been fixed: $ upower -d | grep on-battery on-battery: yes $ plasmashell --version plasmashell 5.8.4 $ upower --version UPower client version 0.99.4 UPower daemon version 0.99.4 $ cat /etc/fedora-release Fedora release 25 (Twenty Five) $ uname -sr Linux 4.8.8-200.fc24.x86_64 The tlp package has also been installed. # rpm -qa | grep tlp tlp-rdw-0.9-1.fc25.noarch tlp-0.9-1.fc25.noarch # tlp stat --- TLP 0.9 -------------------------------------------- ... +++ TLP Status State = enabled Last run = 12:15:41 PM, 295 sec(s) ago Mode = battery Power source = battery ... Correction. Please ignore the last comment - the bug has not been fixed. However, it seems to work when the power cable is disconnected while booting. In this case, upower will report that it's running on battery. As soon as the cable is connected, upower says that it's not running on battery anymore and KDE also recognizes the change and turns the screen brightness up (if configured). If the laptop is connected to a power source while booting, the system won't recognize when it's disconnected - as described in this bug report. Current kernel: Linux 4.8.13-300.fc25.x86_64 Although UPower relays the power status, this sounds more like a hardware-specific problem which would need to be solved in the Linux kernel. You can test whether the kernel thinks the mains supply is plugged in, by copying+pasting the following command into a terminal: for i in /sys/class/power_supply/*/; do (cd "$i"; [ $(cat type) = "Mains" ] && echo "online=$(cat online)"); done Sorry, I can't test anything, I got rid of the laptop. Thanks for the reply :). There's probably not much we can do to track this issue then. You can close this bug if you like (I don't have the access). It'll save you getting mailed about it, when Fedora 25 goes end-of-life and the mass closure bots get here. This message is a reminder that Fedora 25 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '25'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 25 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |