All of lore.kernel.org
 help / color / mirror / Atom feed
From: doa379 <doa379@gmail.com>
To: linux-pm@vger.kernel.org
Subject: Kernel uevents of laptop battery percentages
Date: Mon, 24 Aug 2015 00:14:48 +0100	[thread overview]
Message-ID: <55DA53E8.5070709@gmail.com> (raw)

I have a situation where the Kernel is not sending out uevents of 
battery level percentages.

Only a significant change in the Kernel state sends out a status event 
of the power_supply subsystem for example as follows:

KERNEL[27717.611535] change 
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/PNP0C0A:00/power_supply/BAT0 
(power_supply)

I am looking for a way to get status event updates even when the battery 
level (capacity or percentage) changes.

I was wondering if anyone might suggest any insight into this?

Thanks very much.



                 reply	other threads:[~2015-08-23 23:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=55DA53E8.5070709@gmail.com \
    --to=doa379@gmail.com \
    --cc=linux-pm@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.