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