Battery meter slowly reducing under keyboard charger
#1
I have a new pinephone keyboard that I am using with Manjaro (5.19.8-1-MANJARO-ARM)

The keyboard works and the phone says that it is charging the internal battery, but often the battery meter on the phone slowly drops to zero.

I have a script on boot to update
Code:
/sys/class/power_supply/rk818-usb/input_current_limit

and I am setting it to 3000000. The value remains. It is not changed by other processes and this does not fix the charging issue. Changing the value seems to have no effect.


The keyboard battery seems like it is charging normally


Code:
sudo ppkb-i2c-charger-ctl info -v
Charger: Full ( chg_end)
Button: 00 ( btn_not_press)
0x70: 19
V=4197 mV (OCV 4214 mV) I=-6 mA


Rebooting does not fix the issue. After the internal battery meter reached 0% I tried removing the phone from the keyboard case. Despite reporting 0% battery, the phone continues to operate. It still reports the battery as 'charging'.

The phone is also getting very hot, under the EG-25G shield.

Here are some values reported that could be of use
Code:
sudo cat /sys/class/power_supply/rk818-battery/charge_counter
156
sudo cat /sys/class/power_supply/rk818-battery/voltage_now
3534000
sudo cat /sys/class/power_supply/rk818-battery/current_now
-1129000

My issue does not seem to be the same as any of the issues reported at
https://xnux.eu/pinephone-keyboard/faq.html
  Reply
#2
This may have been caused by putting the phone to sleep. The actual battery charge level may get out of sync with the reported level. For example the battery may have been charged but is still reporting say 50%.

Then when the phone wakes up it tries to charge the already full battery. The phone gets hot and the charge begins to go down.

I suspect this because
 - this issue stopped happening after I stopped suspending the phone
 - putting the same battery into a pinephone results in weird battery charge level reporting for the first charge

EDIT: It is happening again without sleep

EDIT: It was caused by a broken pogo pin
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Battery life thread: discussion, support and tips apink 6 1,961 09-22-2023, 02:37 PM
Last Post: tookmeayear
  [Mobian] : Battery consumption and OS compatibility freelectro 2 1,052 06-02-2023, 06:55 AM
Last Post: Fred Zyphal
  Phosh Updating - Battery Charge Indicator - Jittery Settings - Display Usability ArchiMark 4 1,378 05-28-2023, 07:00 AM
Last Post: ArchiMark
Exclamation PPP Battery drain + hot CPU GPU Piotr 2 1,538 12-09-2022, 12:45 PM
Last Post: Piotr
  Manjaro 5.17.5-1 Keyboard stopped working Yst 7 3,872 06-09-2022, 11:12 AM
Last Post: graphicpanda444
  Fix keyboard layout robocone 1 1,737 05-16-2022, 08:03 AM
Last Post: robocone
  Screen keyboard Japanese input issue Yst 1 1,187 04-30-2022, 09:13 PM
Last Post: TRS-80
  Keyboard Case Power Management Daemon estokes 11 5,993 04-19-2022, 07:41 AM
Last Post: PineFLOWn
  Battery status always "Charging" dabigjhall 2 1,780 03-16-2022, 03:14 PM
Last Post: maltee
  Howto Full disk encryption manjaro and detached header (with keyboard) robocone 0 1,699 03-09-2022, 06:53 AM
Last Post: robocone

Forum Jump:


Users browsing this thread: 1 Guest(s)