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.
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
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 recommend starting a new thread for your interesting point.
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