UBPorts Battery Observation
#18
I can confirm that battery charging detection is not very stable on UT as of #273. Sometimes it starts charging, sometimes I have to unplug and replug, sometimes it only seems to work when I am monitoring the power devices with upower.

Code:
upower -m
phablet@ubuntu-phablet:~$ upower -m
Monitoring activity from the power daemon. Press Ctrl+C to cancel.
*clover plugs in charger here*
[11:32:21.133] device changed:     /org/freedesktop/UPower/devices/battery_axp20x_battery
[11:32:21.134] device changed:     /org/freedesktop/UPower/devices/battery_axp20x_battery
[11:32:21.135] device changed:     /org/freedesktop/UPower/devices/battery_axp20x_battery
[11:32:21.140] device changed:     /org/freedesktop/UPower/devices/line_power_axp20x_usb
[11:32:21.254] device changed:     /org/freedesktop/UPower/devices/line_power_axp813_ac
[11:32:21.254] device changed:     /org/freedesktop/UPower/devices/line_power_axp813_ac
[11:32:21.256] daemon changed:
[11:32:21.269] device changed:     /org/freedesktop/UPower/devices/line_power_axp20x_usb

*pinephone shows white charging led*
[11:34:22.155] device changed:     /org/freedesktop/UPower/devices/battery_axp20x_battery
[11:34:22.156] device changed:     /org/freedesktop/UPower/devices/battery_axp20x_battery
[11:34:22.156] device changed:     /org/freedesktop/UPower/devices/battery_axp20x_battery
[11:34:22.156] device changed:     /org/freedesktop/UPower/devices/battery_axp20x_battery
[11:34:22.156] device changed:     /org/freedesktop/UPower/devices/battery_axp20x_battery

*pinephone stops showing white charging led*
[11:36:22.100] device changed:     /org/freedesktop/UPower/devices/battery_axp20x_battery
[11:36:22.100] device changed:     /org/freedesktop/UPower/devices/battery_axp20x_battery
[11:36:22.100] device changed:     /org/freedesktop/UPower/devices/battery_axp20x_battery
[11:36:22.100] device changed:     /org/freedesktop/UPower/devices/battery_axp20x_battery
[11:36:22.100] device changed:     /org/freedesktop/UPower/devices/battery_axp20x_battery

weird that it takes almost exactly two minutes for the daemon to change and to start seeing charge indicator on battery + white led.

double weird that two more minutes later the device seems to stop charging with battery indicator lightning bolt going away and no white led. 

Difference between UT and PureOS is:
- upower is version 0.99.10 on PureOS and on 0.99.4 on UT

(04-01-2020, 10:20 AM)dodoeg Wrote: Hey guys I started playing recently with the PinePhone, and found that ubtouch is the only distribution so far that survives a suspend.
I enter the suspend with the sysfs interface (echo mem > /sys/power/state). I tested the same thing on debian and pmos with phosh, but different bad things happen when resuming with the power button. 

I've put together a script that triggers suspend after a given time that the system has not seen any user activity, and so far seems to work reasonably well on ubtouch. My question is: has anyone tried to see if receiving a phone call or a sms resumes the phone? I'm not using a sim right now, so I couldn't test
I recommend starting a new thread for your interesting point.


Messages In This Thread
UBPorts Battery Observation - by appdev46 - 02-07-2020, 08:28 AM
RE: UBPorts Battery Observation - by undo - 02-07-2020, 09:38 AM
RE: UBPorts Battery Observation - by tcode - 02-08-2020, 01:12 AM
RE: UBPorts Battery Observation - by mpnordland - 02-08-2020, 02:41 PM
RE: UBPorts Battery Observation - by ksmithaz1 - 02-09-2020, 08:37 PM
RE: UBPorts Battery Observation - by Bhibb - 02-08-2020, 06:27 PM
RE: UBPorts Battery Observation - by aleadom - 02-09-2020, 06:58 AM
RE: UBPorts Battery Observation - by mpnordland - 02-23-2020, 08:01 PM
RE: UBPorts Battery Observation - by falsifian - 03-06-2020, 11:35 PM
RE: UBPorts Battery Observation - by falsifian - 03-07-2020, 10:30 PM
RE: UBPorts Battery Observation - by kugiigi - 03-08-2020, 09:59 AM
RE: UBPorts Battery Observation - by pepo - 02-13-2020, 01:59 PM
RE: UBPorts Battery Observation - by Giiba - 02-23-2020, 10:03 AM
RE: UBPorts Battery Observation - by pjsf - 03-08-2020, 05:45 PM
RE: UBPorts Battery Observation - by dodoeg - 04-01-2020, 10:20 AM
RE: UBPorts Battery Observation - by somken - 04-11-2020, 12:57 PM
RE: UBPorts Battery Observation - by clover - 04-13-2020, 10:35 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PinePhone UBPorts Edition stuck on PINE64 logo screen Giovanni Iannotti 4 4,990 09-01-2021, 01:20 PM
Last Post: Giovanni Iannotti
  online accounts in UBports Uturn 2 4,232 03-30-2021, 09:12 AM
Last Post: Uturn
  UBPorts Not Working Pinoideae 7 9,735 03-13-2021, 01:51 PM
Last Post: KNERD
  How to enable Ethernet with UBPorts and convergence dock? piney-tim 1 3,061 11-27-2020, 07:40 PM
Last Post: piney-tim
  UBPorts Convergence MonCon 0 2,362 11-24-2020, 04:25 PM
Last Post: MonCon
  Looks like I found a mild reason why UBPorts for pinephone hasn't seen much progress. plainenough 13 17,712 11-21-2020, 06:30 PM
Last Post: Nooblife
  "No network" on new UBPorts community edition pinephone professorsnapper 6 7,962 10-19-2020, 10:27 PM
Last Post: htc_tattoo
  UBPorts doesn't boot even after booting into recovery defekto 2 4,536 09-30-2020, 12:16 PM
Last Post: defekto
  Dekko on UBPorts PinePhone usable? djvinniev77 13 15,548 09-17-2020, 03:45 PM
Last Post: yurievitch
  How to enable SSH on UBPorts Ubuntu Touch? eaglecup 12 20,221 09-15-2020, 03:42 PM
Last Post: voidmain

Forum Jump:


Users browsing this thread: 1 Guest(s)