PINE64
Suspend state: discharge time - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112)
+--- Thread: Suspend state: discharge time (/showthread.php?tid=9236)

Pages: 1 2


Suspend state: discharge time - EreTIk - 02-20-2020

My Pinebook Pro (default Debian) in suspend mode (power indicator LED is red) fully discharges (100% -> 0%) in less than two days.

This is normal?


RE: Suspend state: discharge time - wdt - 02-20-2020

>This is normal?
If suspend is not working right, yes
Manjaro, seems to be ~5%/day


RE: Suspend state: discharge time - EreTIk - 02-21-2020

(02-20-2020, 10:17 AM)wdt Wrote: If suspend is not working right, yes
Manjaro, seems to be ~5%/day

As far as I understand (by red LED), suspend is works (factory Debian).

Manjaro ARM without a power cable does not work for a one day  Confused  May require battery calibration or something similar?


RE: Suspend state: discharge time - wdt - 02-21-2020

Your post is not so clear, maybe if it doesn't work well
https://forum.pine64.org/showthread.php?tid=8248&page=19

I haven't checked stock yet, both versions of q4os sort of work,
but not well, wake up issues and not very good power saving
Debian10 seemed like no power saving at all, but since it has
manjaro kernel it probably could be made to work


RE: Suspend state: discharge time - xmixahlx - 02-22-2020

you can configure the suspend state. it isn't going into a power saving state.

for the manjaro kernel they/we use s2idle deep, and suspendstate=mem. will be 2% power draw per day.

if you suspend, but your power light stays on it is unlikely to be setup for power savings.

the 4.4 kernel should support this configuration.

what are your outputs of:
cat /sys/power/mem_sleep
cat /etc/systemd/sleep.conf


RE: Suspend state: discharge time - wdt - 02-22-2020

So, I setup Debian10 like the link above, no real power saving, errors with emmc
Maybe because the kenel is not the same, deb10 5.4.2,, manjaro 5.5.0-3.1
--edit--
Manjaro seems to be a bit indeterminate, that is
sometimes the power saving is extremely good,
and sometimes only 1/2 that good. I am at a loss to explain


RE: Suspend state: discharge time - EreTIk - 02-23-2020

(02-22-2020, 11:42 AM)xmixahlx Wrote: what are your outputs of:
cat /sys/power/mem_sleep
cat /etc/systemd/sleep.conf

Manjaro ARM:

Code:
$ cat /sys/power/mem_sleep
s2idle [deep]
$ cat /etc/systemd/sleep.conf
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See systemd-sleep.conf(5) for details

[Sleep]
#AllowSuspend=yes
#AllowHibernation=yes
#AllowSuspendThenHibernate=yes
#AllowHybridSleep=yes
#SuspendMode=
SuspendState=freeze
#HibernateMode=platform shutdown
#HibernateState=disk
#HybridSleepMode=suspend platform shutdown
#HybridSleepState=disk
#HibernateDelaySec=180min



RE: Suspend state: discharge time - xmixahlx - 02-23-2020

try suspendstate=mem and reboot.


RE: Suspend state: discharge time - mamboman777 - 02-24-2020

I've been following. I'm Running Manjaro with KDE on a Pinebook Pro. The output of cat /sys/power/mem_sleep
cat /etc/systemd/sleep.conf is the same as EreTlk on my machine. When I try to edit etc/systemd/sleep.conf with suspendstate=mem the computer does not suspend. I end up with a blank screen with a mouse and have to hard reboot to get back in. I have tried "SuspendMode=mem" also but did not get the expected behaviour. Do you have any other ideas. Is suspend indeed working in Manjaro?

Thanks!
-Josh


RE: Suspend state: discharge time - wdt - 02-24-2020

SuspendMode=mem in my sleep.conf
Works fine, usually about 5%/day
No red led, only green (not talking about barrel plug,power plug)
I only enter/leave suspend with short power button press,,
all other keys and touchpad are dead when sleeping
It is unclear to me, at this point, interaction with uboot
(stock on emmc, manjaro on SD)
--edit, much later--
Just retested debian10 with updated kernel, no change re sleep
(effectively no power savings)