Bug#574850: dup of #571161

2010-03-24 Thread M Z
Some additional info:

Debian Kernel 2.6.26-2-amd64 (current Lenny IIRC) doesn't show this
behaviour, the POWER_SUPPLY_CURRENT_NOW value is still bogus right
after powerd cord unplug, but it's much lower than the correct
value, that will appear after 1-2 seconds later. So with Lenny kernel
the acpi shows 8 hours of remaining battery life instrad of the 4
minutes with newer Debian kernels  2.6.30-1-amd64, 2.6.30-2-amd64,
2.6.32-3-amd64, 2.6.32-trunk-amd64.

Regards

Matej



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#574850: dup of #571161

2010-03-23 Thread Michael Biebl
Hi Matej,

I think this bug is a duplicate of
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571161

Could you please check the values of the sysfs entries to confirm that.
In that case I will reassign and merge the bugs accordingly.

Thanks,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#574850: dup of #571161

2010-03-23 Thread M Z
Hi Michael,


checked out that bug thread and here are my numbers (cat
/sys/class/power_supply/BAT1/uevent  acpi)

a) power cord plugged in and full battery.
POWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_STATUS=Full
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Unknown
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=1110
POWER_SUPPLY_VOLTAGE_NOW=12552000
POWER_SUPPLY_CURRENT_NOW=0
POWER_SUPPLY_CHARGE_FULL_DESIGN=440
POWER_SUPPLY_CHARGE_FULL=4166000
POWER_SUPPLY_CHARGE_NOW=4166000
POWER_SUPPLY_MODEL_NAME=MS-1221
POWER_SUPPLY_MANUFACTURER=MSI Corp.
POWER_SUPPLY_SERIAL_NUMBER=
Battery 0: Full, 100%

b)power cord plugged off just milliseconds before, the battery still
fully charged (4m wrong time remaining shown in warning pop-up
notification - in case of battery charged bellow ~ 20% it would try to
shutdown the laptop)
POWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_STATUS=Discharging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Unknown
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=1110
POWER_SUPPLY_VOLTAGE_NOW=12328000
POWER_SUPPLY_CURRENT_NOW=65535000
POWER_SUPPLY_CHARGE_FULL_DESIGN=440
POWER_SUPPLY_CHARGE_FULL=4166000
POWER_SUPPLY_CHARGE_NOW=4096000
POWER_SUPPLY_MODEL_NAME=MS-1221
POWER_SUPPLY_MANUFACTURER=MSI Corp.
POWER_SUPPLY_SERIAL_NUMBER=
Battery 0: Discharging, 98%, 00:03:45 remaining

c)power cord still unplugged, battery still fully charged, time like
second or two after the power cord yanking (everything seems to be ok
now)
APOWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_STATUS=Discharging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Unknown
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=1110
POWER_SUPPLY_VOLTAGE_NOW=12295000
POWER_SUPPLY_CURRENT_NOW=1536000
POWER_SUPPLY_CHARGE_FULL_DESIGN=440
POWER_SUPPLY_CHARGE_FULL=4166000
POWER_SUPPLY_CHARGE_NOW=4096000
POWER_SUPPLY_MODEL_NAME=MS-1221
POWER_SUPPLY_MANUFACTURER=MSI Corp.
POWER_SUPPLY_SERIAL_NUMBER=
Battery 0: Discharging, 98%, 02:40:00 remaining


So it seems like the POWER_SUPPLY_CURRENT_NOW=65535000 right after
yanking out the cable leads to the wrong estimations of remaining
battery life and premature shutdowns/hibernations/suspends in case of
weaker battery energy levels.


Thanks for your time. :)

Matej

On Tue, Mar 23, 2010 at 7:13 AM, Michael Biebl bi...@debian.org wrote:
 Hi Matej,

 I think this bug is a duplicate of
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571161

 Could you please check the values of the sysfs entries to confirm that.
 In that case I will reassign and merge the bugs accordingly.

 Thanks,
 Michael
 --
 Why is it that all of the instruments seeking intelligent life in the
 universe are pointed away from Earth?





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org