← Back to team overview

ubuntu-phone team mailing list archive

Re: power consumption

 

Hi Matthias,

Similar issue was found on some developing projects, but I'm not sure if
we're talking about the same ones. The properties you're asking can mostly
be directly retrieved from sysfs and kernel messages to avoid interference
from upper layers. I'm personally used to enable kernel config
CONFIG_SUSPEND_TIME=y to observe how long has the device been sleeping,
along with some hard-coded debug flags for tracing suspend interrupt
sources.

Vicamo

On Mon, Apr 6, 2015 at 10:09 PM, Matthias Apitz <guru@xxxxxxxxxxx> wrote:

>
> Hello,
>
> I have to questions related to power consumption:
>
> It seems that the device is never fully in suspend mode. Even with the
> display switched off it is alive and, for example, responding on ping or
> SSH. Is this by intention?
>
> How can I read, i.e. from which file, the actual power values, like
> charging rate, power consumption in V and mA? Or is there even an app for
> this? Or I could write something to log this to a file...
>
> Thanks
>
>         matthias
> --
> Matthias Apitz, guru@xxxxxxxxxxx, http://www.unixarea.de/ +49-170-4527211
> "Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände
> menschlich bilden."
> "Si el hombre es formado por las circunstancias entonces es necesario
> formar humanamente
> las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia
> (MEW 2, 138)
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Vicamo Yang

References