From: Matthew Frost <artusemrys@sbcglobal.net>
To: Mockern@yandex.ru
Cc: linux-kernel@vger.kernel.org
Subject: Re: battery time living in Linux
Date: Fri, 23 Feb 2007 15:18:28 -0600 [thread overview]
Message-ID: <45DF5A24.507@sbcglobal.net> (raw)
In-Reply-To: <45DF0417.000001.16244@webmail9.yandex.ru>
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
prev parent reply other threads:[~2007-02-23 21:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-23 15:11 battery time living in Linux Mockern
2007-02-23 21:18 ` Matthew Frost [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45DF5A24.507@sbcglobal.net \
--to=artusemrys@sbcglobal.net \
--cc=Mockern@yandex.ru \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.