ubports / ubuntu-touch

Ubuntu Touch's issue inbox is now migrated to GitLab.
https://gitlab.com/ubports/ubuntu-touch
1.28k stars 110 forks source link

Battery indicator on TB-X605L does not show charging when plugged into dock #2062

Open H-Sachse opened 1 year ago

H-Sachse commented 1 year ago

Description of the feature

Illustrations

Steps to reproduce

Plug tablet into dock.

Expected behavior

Battery indicator and battery state in battery settings indicate charging.

Actual behavior

Battery indicator only shows charging when plugged into USB charger but not when charging with the dock (Lenovo Smart Dock)

Logfiles and additional information

The device has two powersupplies with a status file: /sys/class/power_supply/dc is the docking connector /sys/class/power_supply/usb is the usb connector /sys/class/power_supply/battery/status changes to "charging" correctly for both supplies. I suppose the charge indicator reads the "wrong" file.