PINE64
Battery problem with a Pinephone keyboard and Mobian - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: Battery problem with a Pinephone keyboard and Mobian (/showthread.php?tid=17056)



Battery problem with a Pinephone keyboard and Mobian - elode - 07-26-2022

Hello,
I have a Pinophone equipped with the Pinephone keyboard (operating system: Mobian).

As indicated in the instructions, to recharge the Pinephone, I plug the usb cable from the charger into the usb input on the keyboard.
Until a recent update, with Mobian, once the battery was charged, the charge indicator showed 200%. It seemed a little strange to me, but considering that with the keyboard battery, the device has two batteries (keyboard battery + Pinephone battery), there is a logic to the matter… and there was no problem. My Pinephone had a battery life of about two days.

But since a recent update, things have changed:
I can still charge the Pinephone by plugging the usb cable into the keyboard input, but it seems that mobian no longer detects the keyboard battery.
After charging for a whole night, the charge indicator in mobian only shows 65% maximum. Also the keyboard battery doesn't seem to charge the Pinephone battery Undecided

Result: the autonomy of my pinephone went down to about ten hours!
Does anyone have a clue to help me?

Thanks Smile


RE: Battery problem with a Pinephone keyboard and Mobian - presire - 10-28-2022

I am using Manajro ARM (Phosh) and I have the same problem.

Quote:uname -r

Linux manjaro-arm 6.0.2-1-MANJARO-ARM #1 SMP PREEMPT Wed Oct 19 06:43:45 UTC 2022 aarch64 GNU/Linux


Previously, it used to show 66% on a full charge,
but after updating to the latest version, it shows 33% on a full charge.

Perhaps the latest version of Mobian (Weekly) will also show 33% on a full charge.

I do not know how to correct the problem.
I wish I had a better solution....


Quote:cat /sys/class/power_supply/ip5xxx-battery/uevent

     1  POWER_SUPPLY_NAME=ip5xxx-battery
     2  POWER_SUPPLY_TYPE=Battery
     3  POWER_SUPPLY_STATUS=Not charging
     4  POWER_SUPPLY_CHARGE_TYPE=N/A
     5  POWER_SUPPLY_CHARGE_BEHAVIOUR=auto
     6  POWER_SUPPLY_HEALTH=Safety timer expire
     7  POWER_SUPPLY_CAPACITY=86
     8  POWER_SUPPLY_CALIBRATE=187
     9  POWER_SUPPLY_VOLTAGE_MAX_DESIGN=4200000
    10  POWER_SUPPLY_VOLTAGE_NOW=4016064
    11  POWER_SUPPLY_VOLTAGE_OCV=4166452
    12  POWER_SUPPLY_CURRENT_NOW=-7460
    13  POWER_SUPPLY_CONSTANT_CHARGE_CURRENT=2300000
    14  POWER_SUPPLY_CONSTANT_CHARGE_CURRENT_MAX=3100000
    15  POWER_SUPPLY_CONSTANT_CHARGE_VOLTAGE=4228000
    16  POWER_SUPPLY_CONSTANT_CHARGE_VOLTAGE_MAX=4242000


Quote:cat /sys/class/power_supply/axp20x-battery/uevent

     1  POWER_SUPPLY_NAME=axp20x-battery
     2  POWER_SUPPLY_TYPE=Battery
     3  POWER_SUPPLY_PRESENT=1
     4  POWER_SUPPLY_ONLINE=1
     5  POWER_SUPPLY_STATUS=Charging
     6  POWER_SUPPLY_CHARGE_BEHAVIOUR=auto
     7  POWER_SUPPLY_VOLTAGE_NOW=4249000
     8  POWER_SUPPLY_CURRENT_NOW=270000
     9  POWER_SUPPLY_CONSTANT_CHARGE_CURRENT=1200000
    10  POWER_SUPPLY_CONSTANT_CHARGE_CURRENT_MAX=1200000
    11  POWER_SUPPLY_HEALTH=Good
    12  POWER_SUPPLY_VOLTAGE_OCV=4194300
    13  POWER_SUPPLY_VOLTAGE_MAX_DESIGN=4200000
    14  POWER_SUPPLY_VOLTAGE_MIN_DESIGN=3000000
    15  POWER_SUPPLY_CAPACITY=99


The image below shows the PinePhone (+ PP Keyboard) almost fully charged.


RE: Battery problem with a Pinephone keyboard and Mobian - acid andy - 12-22-2022

(10-28-2022, 02:24 PM)presire Wrote: Previously, it used to show 66% on a full charge,
but after updating to the latest version, it shows 33% on a full charge.

Perhaps the latest version of Mobian (Weekly) will also show 33% on a full charge.

I do not know how to correct the problem.
I wish I had a better solution....

For me, on Mobian and PostmarketOS it's started displaying 25% on a full charge.

My current theory is it's due to changes in how the UPower daemon calculates the display percentage. Have a look at my thread about it:

https://forum.pine64.org/showthread.php?tid=17740