public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Jan Rychter <jan-JAsPCFd0eodBDgjK7y7TUQ@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Reading battery consumes a lot of CPU
Date: Sat, 28 Feb 2004 11:35:14 -0800	[thread overview]
Message-ID: <m27jy7f159.fsf@tnuctip.rychter.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 831 bytes --]

I've reported this a number of times (using various hardware, in fact)
over the last year or so. Thought I'd resend.

Reading the battery status seems to consume a disproportionate amount of
CPU time, such that running battery applets (wmacpi, etc) becomes
impractical. If I use them in their normal mode, the CPU rarely slows
down for me using cpudynd.

To give you an example, my wmacpi that updates the information every 30
seconds (!) has consumed 8 minutes and 10 seconds of CPU time over the
last 12 or so hours of laptop use.

jwr       6826  2.6  0.1  2668  436 ?        S    05:58   8:10 wmacpi

This makes it impractical to run battery monitors.

I'm using Linux-2.4.25 on a Sharp Mebius PC-MT2-H1 (and previously over
the last year all kinds of kernels and patches on this laptop and on a
Sharp Mebius PC-MT1-H5).

--J.

[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]

             reply	other threads:[~2004-02-28 19:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-28 19:35 Jan Rychter [this message]
     [not found] ` <m27jy7f159.fsf-dTJq59+VGzkkCw8IV3R6h0EOCMrvLtNR@public.gmane.org>
2004-02-29 18:07   ` Reading battery consumes a lot of CPU Pavel Machek

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=m27jy7f159.fsf@tnuctip.rychter.com \
    --to=jan-jaspcfd0eodbdgjk7y7tuq@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox