mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi@ti.com>
To: Felipe Balbi <balbi@ti.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Anton Vorontsov <cbou@mail.ru>,
	David Woodhouse <dwmw2@infradead.org>
Subject: Re: Bug on Latitude E6410 battery
Date: Tue, 22 Feb 2011 13:51:03 +0200	[thread overview]
Message-ID: <20110222115103.GB16596@legolas.emea.dhcp.ti.com> (raw)
In-Reply-To: <20110222114710.GA16596@legolas.emea.dhcp.ti.com>

Hi again,

On Tue, Feb 22, 2011 at 01:47:10PM +0200, Felipe Balbi wrote:
> there's some sort of weird bug on Latitude's battery as it shows 5600
> hours of battery time when it's discharging (gnome-power_manager says
> that), here are all files' contents from /sys/class/power_supply/BAT0/:
> 
> alarm:			0
> charge_full:		5276000
> charge_full_design:	5600000
> charge_now:		5230000
> current_now:		1606000
> cycle_count:		0
> manufacturer:		Samsung SDI
> model_name:		DELL H139107
> present:		1
> serial_number:		1422
> status:			Discharging
> technology:		Li-ion
> type:			Battery
> uevent:			POWER_SUPPLY_NAME=BAT0
> 			POWER_SUPPLY_STATUS=Discharging
> 			POWER_SUPPLY_PRESENT=1
> 			POWER_SUPPLY_TECHNOLOGY=Li-ion
> 			POWER_SUPPLY_CYCLE_COUNT=0
> 			POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11100000
> 			POWER_SUPPLY_VOLTAGE_NOW=12683000
> 			POWER_SUPPLY_CURRENT_NOW=1606000
> 			POWER_SUPPLY_CHARGE_FULL_DESIGN=5600000
> 			POWER_SUPPLY_CHARGE_FULL=5276000
> 			POWER_SUPPLY_CHARGE_NOW=5230000
> 			POWER_SUPPLY_MODEL_NAME=DELL H139107
> 			POWER_SUPPLY_MANUFACTURER=Samsung SDI
> 			POWER_SUPPLY_SERIAL_NUMBER=1422
> voltage_min_design:	11100000
> voltage_now:		12683000
> 
> BTW, I'm using 2.6.38-rc5

Now I just saw that it's maybe a race. Sometimes is shows correctly
(3 hours and something) and sometimes it shows wrong value (over 5000
hours).

It looks like the notification that I get when I remove the cable, shows
the wrong value and if after the notification vanishes, I put my mouse
pointer over the battery icon, then I get correctly value.

Maybe a bug on gnome-power-manager.

-- 
balbi

      reply	other threads:[~2011-02-22 11:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-22 11:47 Felipe Balbi
2011-02-22 11:51 ` Felipe Balbi [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=20110222115103.GB16596@legolas.emea.dhcp.ti.com \
    --to=balbi@ti.com \
    --cc=cbou@mail.ru \
    --cc=dwmw2@infradead.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®