On Tue, Nov 22, 2011 at 5:14 PM, Bret Foreman <[email protected]> wrote:
> No, I don't have to take sensor data except right before I launch the
> daily reading. But even when the CPU is just ticking over doing
> nothing it still has to keep a bunch of volatile state in registers
> and RAM and such. All that stuff might add up to over 1 mA. Really
> deep sleep modes usually store everything volatile into flash and then
> current drops to under 10 uA - just enough to run a little wake-up
> counter. But I don't think Android can do anything like that, even if
> the underlying hardware (like the ATMega) supports it.

I was under the impression that the CPU was stopped in Android's sleep
mode, but I certainly could be mistaken. The closer you get to
hardware, the worse my comprehension.

> Solar is not an option but outboard batteries might work. Charging
> through the USB port is not very efficient, though, so I'd lose a lot
> of the benefit of a big external battery.

You could always go with a diesel generator... :-)

If you want, give me an idea of what sort of device you'd want to be
running, and I can try to find something roughly equivalent here in my
Secret Mountain Lair. I'll charge it up, put it on airplane mode, and
let it sit for a couple of weeks, and we'll see what the battery level
dropped to, with the stock battery. You could run that test too, of
course, if you have a spare device lying around. While it wouldn't
include the drain from your app, it'd at least give you an idea as to
whether or not there's a prayer of it working for four months.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1
Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to