* battery time living in Linux
@ 2007-02-23 15:11 Mockern
2007-02-23 21:18 ` Matthew Frost
0 siblings, 1 reply; 2+ messages in thread
From: Mockern @ 2007-02-23 15:11 UTC (permalink / raw)
To: linux-kernel
Hello,
I need to know how much time my battery will be alive (an embedded system).
How does Linux calculate it? How should I know that after 3 or 4 hours my battery will be completely discharged?
Thank you
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: battery time living in Linux
2007-02-23 15:11 battery time living in Linux Mockern
@ 2007-02-23 21:18 ` Matthew Frost
0 siblings, 0 replies; 2+ messages in thread
From: Matthew Frost @ 2007-02-23 21:18 UTC (permalink / raw)
To: Mockern; +Cc: linux-kernel
Mockern wrote:
> Hello,
>
> I need to know how much time my battery will be alive (an embedded system).
>
> How does Linux calculate it? How should I know that after 3 or 4 hours my battery will be completely discharged?
>
Your battery will discharge at a rate proportionate to its total charge and the
wattage draw of the load (your embedded system, in this case) over time. If the
drain is constant, as opposed to variable, this becomes easier to predict.
However, your system load probably won't be constant. Also, the discharge rate
of a battery depends on the environment and age/condition of the battery.
I could just be missing something, but I am unaware of linux kernel
functionality for determining battery life. There are benchmarks that can give
you an estimate, but they are artificial. YMMV based on actual usage. Check
out Len Brown et al. from the 2006 Ottawa Linux Symposium on Linux Laptop
Battery Life, and adapt to suit. The only way to know for sure is to do the
tests yourself and get an idea of your average battery life.
Matt
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-02-23 21:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-23 15:11 battery time living in Linux Mockern
2007-02-23 21:18 ` Matthew Frost
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.