-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Charge thresholds confuse kernel #17
Comments
Hi, yes I think I have seen this before. Overriding power_supply sounds like a bad plan to me, but maybe we can trigger some update or supply additional information to the original interface? Will have a closer look when I have some spare time. Greets |
Unknown bat status confuses laptop-mode with errors:
|
Same problem here.
Ubuntu 18.04.1 LTS - Ubuntu 7.3.0-16ubuntu3 What can be done? Regards |
1 similar comment
Same problem here.
Ubuntu 18.04.1 LTS - Ubuntu 7.3.0-16ubuntu3 What can be done? Regards |
Now, after upgrading to kernel: |
This is on a W701:
When charge thresholds are set, the kernel does not know about the current battery state. While the battery is idling at the threshold with AC attached for example, I get this:
$ cat /sys/class/power_supply/BAT0/status
Unknown
I am aware that tp_smapi exports its own interface under /sys/devices/platform/smapi, but many tools and daemons such as Upower are unaware of it and will not implemented driver-specific interfaces.
The result is that Upower assumes that the battery is charging, while it is not.
It would be very useful if tp_smapi could also override the power_supply entries in sysfs to provide the correct status, among other things.
Thanks!
The text was updated successfully, but these errors were encountered: