PINE64
Phone won't suspend, battery drains quickly - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: General Discussion on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=127)
+--- Thread: Phone won't suspend, battery drains quickly (/showthread.php?tid=15532)

Pages: 1 2


Phone won't suspend, battery drains quickly - nelstomlinson - 12-12-2021

When I suspend the phone with the power switch, it suspends, then wakes up every 5 minutes.

When I type systemctl suspend -i, the system suspends, then pops back awake to the lock screen.

When I type sudo dmesg after systemctl suspend, I get the following:
Code:
37426.749911] PM: suspend entry (deep)
[37426.848490] Filesystems sync: 0.094 seconds
[37426.853619] Freezing user space processes ... (elapsed 0.012 seconds) done.
[37426.872778] OOM killer disabled.
[37426.876013] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[37426.885165] printk: Suspending console(s) (use no_console_suspend to debug)
[37427.052777] sunxi-mmc 1c0f000.mmc: data error, sending stop command
[37427.052797] sunxi-mmc 1c0f000.mmc: send stop command failed
[37427.052815] mmc0: error -110 reading status reg of PM func
[37427.052834] PM: dpm_run_callback(): mmc_bus_suspend+0x0/0x74 returns -110
[37427.052868] mmcblk mmc0:aaaa: PM: failed to suspend async: error -110
[37427.071809] PM: Some devices failed to suspend, or early wake event detected
[37427.347277] OOM killer enabled.
[37427.350891] Restarting tasks ... done.
[37427.361608] PM: suspend exit
[37427.364848] PM: suspend entry (s2idle)
[37427.443025] Filesystems sync: 0.073 seconds
[37427.448397] Freezing user space processes ... (elapsed 0.010 seconds) done.
[37427.465626] OOM killer disabled.
[37427.468898] Freezing remaining freezable tasks ... (elapsed 0.005 seconds) done.
[37427.482481] printk: Suspending console(s) (use no_console_suspend to debug)
[37427.649343] sunxi-mmc 1c0f000.mmc: data error, sending stop command
[37427.649395] mmc0: error -110 writing Power Off Notify bit
[37427.649418] PM: dpm_run_callback(): mmc_bus_suspend+0x0/0x74 returns -110
[37427.649462] mmcblk mmc0:aaaa: PM: failed to suspend async: error -110
[37427.663846] PM: Some devices failed to suspend, or early wake event detected
[37427.930044] OOM killer enabled.
[37427.933233] Restarting tasks ... done.
[37427.951069] PM: suspend exit
[37428.730724] anx7688 0-0028: DP state changed to 0x04
[37429.752349] anx7688 0-0028: DP state changed to 0x05
[37431.804197] anx7688 0-0028: DP state changed to 0x06
Not sure what's going on, but _something_ keeps it from suspending, and battery life is now terrible, I can only be unplugged from a charger for a couple hours now, and the battery is at zero.

Running Mobian Bookworm, updated daily.


RE: Phone won't suspend, battery drains quickly - guenther - 12-13-2021

If you are on kernel 5.15, you could try to switch to a previous kernel 5.10 or 5.13. I have similar issues on my PineTab with latest kernel where 5.10 runs flawless.


RE: Phone won't suspend, battery drains quickly - nelstomlinson - 12-13-2021

(12-13-2021, 06:49 AM)guenther Wrote: If you are on kernel 5.15, you could try to switch to a previous kernel 5.10 or 5.13. I have similar issues on my PineTab with latest kernel where 5.10 runs flawless.

Thanks, guenther. I believe I'm on an older kernel, 5.13 I think. I first installed bookworm a couple of months ago, have been updating regularly since, and the battery life recently got very short. It gets hot just sitting in my pocket.


RE: Phone won't suspend, battery drains quickly - ryo - 12-13-2021

I noticed the same type of behavior when having my phone in my pocket or in a bag (which I usually carry around for longer distance travels).
However, it doesn't happen when the phone is lying on my desk, or a table at a restaurant, or some other place where it's just openly visible.
One thing I assume what's going on is that the power button gets accidentally pressed (or gets recognized even while not even touching that button?).


RE: Phone won't suspend, battery drains quickly - nelstomlinson - 12-14-2021

Ryo, mine is turning on every 5 minutes while sitting on the desk. Definitely not hitting the power button.

Does anyone have any ideas for what I should look at to try to figure this out? The failures reported in the dmesg look like they might be part of it, but I have no idea what they mean or how to dig further.


RE: Phone won't suspend, battery drains quickly - bcnaz - 12-15-2021

@nelstomlinson

You did not mention if you are running from the eMMC, or from an sd card. ?

My daily driver Pinephone has a Bookworm release from about August I think, plus all the updates.
> * It is starting to get a little flakey.

While one of my test phones with the latest Mobian Weekly release flashed to the micro-sd is running almost perfectly.

The updated images do not exactly match the latest released images.


RE: Phone won't suspend, battery drains quickly - dimitarsh1 - 03-16-2022

Hi, I have PPP running Manjaro phosh from the SD card with tow-boot.
The battery goes from 100 to 0 in 5 hours or so ... and the phone is constantly warm. Checking the temp, it is around 44 degrees (CPU and GPU are similar); battery is 18.8 constantly Smile.

It seems it does not suspend properly.

Any suggestions would be greatly appreciated. Thanks.


RE: Phone won't suspend, battery drains quickly - bcnaz - 03-16-2022

Of the distro's I have tried on my Explorer edition, --- Arch/Phosh was the only Pro series operating system

that has a functional suspend mode "Out of the Box"... at the moment.

On the original Pine phone series I think 'most' Distro's do have suspend working.


RE: Phone won't suspend, battery drains quickly - Merc - 03-16-2022

(03-16-2022, 07:42 PM)bcnaz Wrote: Of the distro's I have tried on my Explorer edition,  ---  Arch/Phosh was the only Pro series operating system

that has a functional suspend mode "Out of the Box"...  at the moment.

Do you have Arch installed on the eMMC or microSD card?
Do you have Tow-Boot installed on the SPI?


RE: Phone won't suspend, battery drains quickly - bcnaz - 03-16-2022

1) That was from the sd card
2) That's a 'no' on the Tow-Boot

I know that the emmc does read much faster, but I am looking for dependable first.

When I do finally put an OS on my emmc, -- I will probably use the sd card/slot for storage,
so I don't know if Tow-Boot would be of any benefit.

I have been "Playing" with the Pine phones for over 2 years now, Eventually I do want to "Just use my phone".

BUT, I may be interested in putting Tow-Boot on my Pinebook Pro