Bye SHR, hello QTMoko (and battery life)

David Garabana Barro david at garabana.com
Sun Oct 7 06:52:42 CEST 2012


O Xoves, 4 de Outubro de 2012, Radek Polak escribiu:
> On Thursday, October 04, 2012 09:04:00 AM David Garabana Barro wrote:
> > O Xoves, 4 de Outubro de 2012, Timo Juhani Lindfors escribiu:
> > > David Garabana Barro <david at garabana.com> writes:
> > > > I've read about http://docs.openmoko.org/trac/ticket//2349, but it
> > > > should be fixed in qtmoko's 2.6.34, isn't it?
> > > 
> > > Yes.
> > 
> > Thanks
> > 
> > > Can you measure the power consumption please? With and without GSM.
> > 
> > How can I do it?
> > Is there any wiki page about it?
> 
> The trac ticket you are reffering to has commands how to do it. Besides
> QtMoko has the information about current consumption on the home screen
> (near the lightning icon e.g. 300/12mA which means 300mA now, 12mA in last
> suspend). And finally you can even read the current_now sysfs file.

I'm trying with

#!/bin/sh
while true
do
         cat /sys/class/power_supply/battery/current_now >>/var/log/power.log
         sleep 1
done

but if running the script, qtmoko won't enter suspend

And I'm wondering, if suspended, it won't log anything, won't it?

Sorry if an obvious question, but how can I measure suspended current draw?

btw, I'm using latest gennady's u-boot, and it seems to still poweron gps...

-- 
David Garabana Barro
jabber & google talk ID:	david at garabana.com
Clave pública PGP/GPG:		http://davide.garabana.com/pgp.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmoko.org/pipermail/community/attachments/20121007/502a9133/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openmoko.org/pipermail/community/attachments/20121007/502a9133/attachment.pgp>


More information about the community mailing list