On Tue, 26 Feb 2008 12:11:28 -0600 "Paul Johnson" <[EMAIL PROTECTED]>
babbled:

> On Fri, Feb 22, 2008 at 11:39 PM, The Rasterman Carsten Haitzler
> <[EMAIL PROTECTED]> wrote:
> > On Thu, 21 Feb 2008 12:27:23 -0600 "Paul Johnson" <[EMAIL PROTECTED]>
> >  babbled:
> >
> >  it could be old e config and the battery module is polling really fast:
> >
> >  1. rm -rf ~/.e
> >  2. start e and see.
> >
> 
> >  note - NOTHING has changed with e17'sw battery polling for acpi beyond
> > polling frequency above to reduce wakeups.
> >
> >
> >  > In this Dell D820 laptop, I have 2 batteries.  One is the usual, one
> >  > is in the so-called "external bay" and it can be swapped for a CDROM.
> >  > I should have realized E was having trouble with this because the
> >  > battery monitor reported nutty values like 143% and it constantly told
> >  > me my battery was almost out of power.  Removing the battery module
> >  > solves the CPU problem. What a relief.
> >
> >  the 143% is likely due to acpi simply being broken in what it reports. go
> >  to /proc/acpi/battery/.... and check the contents of files for yourself.
> >
> >  The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
> >
> I think you might be mistaken here.   Something is messed up because
> of the 2 batteries.
> 
> The gnome-power-manager is running in the gnome panel and reports 98%
> overall power and about 5 hours left.  That is correct, in my
> experience.
> 
> I started the kde3 panel and in there, at the same time. I click to
> open it and see it spots 2 batteries, one at 100% and one at 89%,
> however if I hover the mouse without clicking, it reports only on the
> smaller battery that is actually powering the system. It says 96% with
> 1:20 minutes remaining.  96% may be just a weird average of the ACPI
> values, I don't know how they calculate it.
> 
> The E battery monitor says, at the same time 104% and 1:27 remaining.
> That's just not right.
> 
> I have been checking /proc/acpi and I think gnome-power is correct, E
> battery is not:

actually it is - e is using "last full capacity" as full capacity. you actually
exceeded it:

design capacity:         7800 mAh
last full capacity:      6959 mAh
remaining capacity:      7800 mAh

on 1 battery. and the other:

design capacity:         4200 mAh
last full capacity:      3137 mAh
remaining capacity:      2812 mAh

now here is what the logic is. as you charge and discharge batteries, they will
probably not store as much capacity anymore - thus their full capacity will go
down over time. so they may never charge over 90% for example - or 80% once
they are very old (compared to design capacity). that's the theory anyway. so
over time the e battery calculations try and account for this. 100% is the max
that the battery now thinks is "full" capacity. somehow u have exceeded it.
that's why you get the numbers you do. gnome and kde are using design capacity
as the 100% mark - e is using last full capacity as the 100% mark. of course
this relies on your battery measuring this accurately and reporting it
accurately. it would seem that is not the case.

remember. "last full capacity" is what the battery internal electronics (it
literally has a small microchip in there and some storage) reports as what *IT*
thinks its current maximum capacity is (it can probably no longer reach the
original factory design levels).

so e is just looking at 100% full of a battery differently. 100% is 100% of
what the battery thinks it can do now. not 100% of the theoretical maximum
charge it could do if 100% brand new and perfect. gnome and kde assume perfect
batteries and you may find over time some batteries will then never get to 100%.

your battery has somehow lost/screwed its calibration maybe and you are just
seeing this in E.

> $ cat /proc/acpi/battery/BAT*/*
> alarm:                   780 mAh
> present:                 yes
> design capacity:         7800 mAh
> last full capacity:      6959 mAh
> battery technology:      rechargeable
> design voltage:          11100 mV
> design capacity warning: 780 mAh
> design capacity low:     236 mAh
> capacity granularity 1:  78 mAh
> capacity granularity 2:  78 mAh
> model number:            DELL YD6236
> serial number:           1977
> battery type:            LION
> OEM info:                SMP
> present:                 yes
> capacity state:          ok
> charging state:          charged
> present rate:            1 mA
> remaining capacity:      7800 mAh
> present voltage:         12959 mV
> alarm:                   420 mAh
> present:                 yes
> design capacity:         4200 mAh
> last full capacity:      3137 mAh
> battery technology:      rechargeable
> design voltage:          11100 mV
> design capacity warning: 420 mAh
> design capacity low:     127 mAh
> capacity granularity 1:  42 mAh
> capacity granularity 2:  42 mAh
> model number:            DELL 0000M7
> serial number:           641
> battery type:            LiP
> OEM info:                Sony
> present:                 yes
> capacity state:          ok
> charging state:          discharging
> present rate:            1921 mA
> remaining capacity:      2812 mAh
> present voltage:         11278 mV
> 
> 
> -- 
> Paul E. Johnson
> Professor, Political Science
> 1541 Lilac Lane, Room 504
> University of Kansas
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to