<div dir="ltr">what&#39;s the hungriest of all? or if we can have a list of all the hungry stuff in the FR sorted from the one starving to the one who needs a snack? :)<br><br><div class="gmail_quote">On Sun, Jul 20, 2008 at 10:02 PM, Andy Green &lt;<a href="mailto:andy@openmoko.com">andy@openmoko.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Somebody in the thread at some point said:<br>
<br>
| I&#39;ve noticed significantly reduced runtime when using one of the<br>
| latest daily builds (2008-07-16 I think). &nbsp;I have a theory. &nbsp;I suspect<br>
| bluetooth isn&#39;t really being turned off when I think it is any more.<br>
| The factory image ran with a dimmed screen (no suspend) for a good 6<br>
| hours and only drained to 64% according to asm. &nbsp;The latest daily<br>
| build completely drained the battery in 6 hours (even after asm -s).<br>
| How can I check to ensure that the BT module isn&#39;t drawing power?<br>
<br>
There&#39;s two levels of supicion you can apply to check what&#39;s really<br>
going on. &nbsp;First there is a logical enable signal that is reported by<br>
<br>
cat /sys/bus/platform/devices/neo1973-pm-bt.0/power_on<br>
<br>
This would report 0 if the BT stuff was logically &quot;off&quot;.<br>
<br>
If it still doesn&#39;t satisfy the suspicion, you can quite directly check<br>
if it is being given power by the PMU.<br>
<br>
cat /sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/dump_regs<br>
<br>
will (after a little pause while it grabs them) dump the whole PMU<br>
register state. &nbsp;BT is powered off LDO4, it means registers 0x33 and<br>
0x34 are interesting. &nbsp;The LDO is powered if b0 of 0x34 is &#39;1&#39;, it<br>
should be disabled if it claims BT is off.<br>
<br>
However, WLAN is much hungrier than BT. &nbsp;Maybe it can be that?<br>
<br>
- -Andy<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (GNU/Linux)<br>
Comment: Using GnuPG with Fedora - <a href="http://enigmail.mozdev.org" target="_blank">http://enigmail.mozdev.org</a><br>
<br>
iEYEARECAAYFAkiDi8EACgkQOjLpvpq7dMoOhQCeN07Vy/RbA5sY+Lg5vmkuaROv<br>
QA8An0pzeJYXvmtYsIT0bV01eViu08Uu<br>
=9EYb<br>
-----END PGP SIGNATURE-----<br>
<br>
_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
</blockquote></div><br></div>