Bug 473480 - Incorrect charging status with Pine keyboard
Summary: Incorrect charging status with Pine keyboard
Status: REPORTED
Alias: None
Product: plasma-mobile-settings
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Devin Lin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-17 16:15 UTC by Gena
Modified: 2024-09-08 20:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Settings menu, system thinks that the phone is charging, while it's actually not (98.25 KB, image/png)
2023-08-17 16:17 UTC, Gena
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gena 2023-08-17 16:15:31 UTC
I use Plasma on my PinePhone Pro with the Pine keyboard (that includes additional battery).
Powerdevil detects that the phone is charging, while it actually not.
Sysfs reports that both batteries discharging:
```
shatur@pinephone-pro ~> cat /sys/class/power_supply/rk818-battery/status
Discharging
shatur@pinephone-pro ~> cat /sys/class/power_supply/ip5xxx-battery/status
Discharging
```

Here is the output from `upower -d`: https://pastebin.com/YaiQGqAx
Everything is discharging.

But powerdevil thinks that the phone is charging for some reason. I would expect it to detect charging only when at least one battery is charging.
Comment 1 Gena 2023-08-17 16:17:00 UTC
Created attachment 161025 [details]
Settings menu, system thinks that the phone is charging, while it's actually not