Kpowersave its no refrshing the power status. i have to reboot the powersaved daemon and kpowersave show that the battery has changed, so i think is a powersaved problem not reading the acpi status propelly. Any ideas how to resolv this? Thx -- Patricio Bruna V.
On Sat, 2006-02-04 at 11:06 -0300, Patricio Bruna V. wrote:
Kpowersave its no refrshing the power status. i have to reboot the powersaved daemon and kpowersave show that the battery has changed, so i think is a powersaved problem not reading the acpi status propelly.
Mine (Compaq lt1720US) reports "Plugged in -- battery is charging -- 997mhz" when plugged in and "Running on batteries -- -1% charged -- 997mhz" when on the battery. Yet the battery will provide 2.5-3 hours of run time. The correct info shows in KDE control center. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
On Saturday 04 February 2006 15:35, Kenneth Schneider wrote:
On Sat, 2006-02-04 at 11:06 -0300, Patricio Bruna V. wrote:
Kpowersave its no refrshing the power status. i have to reboot the powersaved daemon and kpowersave show that the battery has changed, so i think is a powersaved problem not reading the acpi status propelly.
Mine (Compaq lt1720US) reports "Plugged in -- battery is charging -- 997mhz" when plugged in and "Running on batteries -- -1% charged -- 997mhz" when on the battery. Yet the battery will provide 2.5-3 hours of run time. The correct info shows in KDE control center.
What say "powersave -B" and what say lshal about the battery? Is you acipd and the hal-acpi-addon running (check with 'ps aux | grep acpi'). Danny --------------------- powersave-users@forge.novell.com
On Sat, 2006-02-04 at 17:54 +0100, Danny Kukawka wrote:
On Saturday 04 February 2006 15:35, Kenneth Schneider wrote:
On Sat, 2006-02-04 at 11:06 -0300, Patricio Bruna V. wrote:
Kpowersave its no refrshing the power status. i have to reboot the powersaved daemon and kpowersave show that the battery has changed, so i think is a powersaved problem not reading the acpi status propelly.
Mine (Compaq lt1720US) reports "Plugged in -- battery is charging -- 997mhz" when plugged in and "Running on batteries -- -1% charged -- 997mhz" when on the battery. Yet the battery will provide 2.5-3 hours of run time. The correct info shows in KDE control center.
What say "powersave -B" and what say lshal about the battery? Is you acipd and the hal-acpi-addon running (check with 'ps aux | grep acpi').
lt1720:~ # powersave -B Battery: error. AC is online. Battery0: 100 udi = '/org/freedesktop/Hal/devices/acpi_AC' info.udi = '/org/freedesktop/Hal/devices/acpi_AC' (string) linux.hotplug_type = 4 (0x4) (int) ac_adapter.present = true (bool) info.capabilities = {'ac_adapter'} (string list) info.category = 'ac_adapter' (string) info.product = 'AC Adapter' (string) info.parent = '/org/freedesktop/Hal/devices/computer' (string) linux.acpi_type = 3 (0x3) (int) linux.acpi_path = '/proc/acpi/ac_adapter/AC' (string) udi = '/org/freedesktop/Hal/devices/acpi_CMB0' info.udi = '/org/freedesktop/Hal/devices/acpi_CMB0' (string) linux.hotplug_type = 4 (0x4) (int) battery.charge_level.rate = 0 (0x0) (int) battery.charge_level.last_full = 0 (0x0) (int) battery.charge_level.current = 3557 (0xde5) (int) battery.voltage.current = 16696 (0x4138) (int) battery.reporting.rate = 0 (0x0) (int) battery.reporting.current = 3557 (0xde5) (int) battery.rechargeable.is_discharging = false (bool) battery.rechargeable.is_charging = false (bool) battery.is_rechargeable = true (bool) battery.charge_level.unit = 'unknown' (string) battery.charge_level.granularity_2 = 100 (0x64) (int) battery.charge_level.granularity_1 = 100 (0x64) (int) battery.charge_level.low = 16 (0x10) (int) battery.charge_level.warning = 800 (0x320) (int) battery.charge_level.design = -1 (0xffffffff) (int) battery.reporting.granularity_2 = 100 (0x64) (int) battery.reporting.granularity_1 = 100 (0x64) (int) battery.reporting.low = 16 (0x10) (int) battery.reporting.warning = 800 (0x320) (int) battery.technology = 'LION' (string) battery.serial = '0000' (string) battery.model = 'BAT1' (string) battery.vendor = 'COMPAQ' (string) battery.present = true (bool) info.capabilities = {'battery'} (string list) info.category = 'battery' (string) battery.type = 'primary' (string) info.product = 'Battery Bay' (string) info.parent = '/org/freedesktop/Hal/devices/computer' (string) linux.acpi_type = 0 (0x0) (int) linux.acpi_path = '/proc/acpi/battery/CMB0' (string) Any other info you need? -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
On Saturday 04 February 2006 19:08, Kenneth Schneider wrote:
lt1720:~ # powersave -B Battery: error. AC is online. Battery0: 100
udi = '/org/freedesktop/Hal/devices/acpi_AC' info.udi = '/org/freedesktop/Hal/devices/acpi_AC' (string) linux.hotplug_type = 4 (0x4) (int) ac_adapter.present = true (bool) info.capabilities = {'ac_adapter'} (string list) info.category = 'ac_adapter' (string) info.product = 'AC Adapter' (string) info.parent = '/org/freedesktop/Hal/devices/computer' (string) linux.acpi_type = 3 (0x3) (int) linux.acpi_path = '/proc/acpi/ac_adapter/AC' (string)
udi = '/org/freedesktop/Hal/devices/acpi_CMB0' info.udi = '/org/freedesktop/Hal/devices/acpi_CMB0' (string) linux.hotplug_type = 4 (0x4) (int) battery.charge_level.rate = 0 (0x0) (int) battery.charge_level.last_full = 0 (0x0) (int) battery.charge_level.current = 3557 (0xde5) (int) battery.voltage.current = 16696 (0x4138) (int) battery.reporting.rate = 0 (0x0) (int) battery.reporting.current = 3557 (0xde5) (int) battery.rechargeable.is_discharging = false (bool) battery.rechargeable.is_charging = false (bool) battery.is_rechargeable = true (bool) battery.charge_level.unit = 'unknown' (string) battery.charge_level.granularity_2 = 100 (0x64) (int) battery.charge_level.granularity_1 = 100 (0x64) (int) battery.charge_level.low = 16 (0x10) (int) battery.charge_level.warning = 800 (0x320) (int) battery.charge_level.design = -1 (0xffffffff) (int) battery.reporting.granularity_2 = 100 (0x64) (int) battery.reporting.granularity_1 = 100 (0x64) (int) battery.reporting.low = 16 (0x10) (int) battery.reporting.warning = 800 (0x320) (int) battery.technology = 'LION' (string) battery.serial = '0000' (string) battery.model = 'BAT1' (string) battery.vendor = 'COMPAQ' (string) battery.present = true (bool) info.capabilities = {'battery'} (string list) info.category = 'battery' (string) battery.type = 'primary' (string) info.product = 'Battery Bay' (string) info.parent = '/org/freedesktop/Hal/devices/computer' (string) linux.acpi_type = 0 (0x0) (int) linux.acpi_path = '/proc/acpi/battery/CMB0' (string)
Any other info you need?
This looks really strange. Looks like a broken battery (battery with current level but no last full capacity and no valid battery.charge_level.design). If this is the fact, we can't do anything in KPowersave/powersave/HAL. Could you attach output of 'grep . /proc/acpi/battery/CMB0/* ' one time with and one time without the AC adapter plugged in. Danny
On Sat, 2006-02-04 at 19:15 +0100, Danny Kukawka wrote:
On Saturday 04 February 2006 19:08, Kenneth Schneider wrote: <snip> This looks really strange. Looks like a broken battery (battery with current level but no last full capacity and no valid battery.charge_level.design). If this is the fact, we can't do anything in KPowersave/powersave/HAL.
Could you attach output of 'grep . /proc/acpi/battery/CMB0/* ' one time with and one time without the AC adapter plugged in.
With the AC adapter plugged in: lt1720:~ # grep . /proc/acpi/battery/CMB0/* /proc/acpi/battery/CMB0/alarm:alarm: unsupported /proc/acpi/battery/CMB0/info:present: yes /proc/acpi/battery/CMB0/info:design capacity: unknown /proc/acpi/battery/CMB0/info:last full capacity: unknown /proc/acpi/battery/CMB0/info:battery technology: rechargeable /proc/acpi/battery/CMB0/info:design voltage: unknown /proc/acpi/battery/CMB0/info:design capacity warning: 800 mWh /proc/acpi/battery/CMB0/info:design capacity low: 16 mWh /proc/acpi/battery/CMB0/info:capacity granularity 1: 100 mWh /proc/acpi/battery/CMB0/info:capacity granularity 2: 100 mWh /proc/acpi/battery/CMB0/info:model number: BAT1 /proc/acpi/battery/CMB0/info:serial number: 0000 /proc/acpi/battery/CMB0/info:battery type: LION /proc/acpi/battery/CMB0/info:OEM info: COMPAQ /proc/acpi/battery/CMB0/state:present: yes /proc/acpi/battery/CMB0/state:capacity state: ok /proc/acpi/battery/CMB0/state:charging state: charged /proc/acpi/battery/CMB0/state:present rate: 0 mW /proc/acpi/battery/CMB0/state:remaining capacity: 3557 mWh /proc/acpi/battery/CMB0/state:present voltage: 16703 mV With the AC adapter unplugged: lt1720:~ # grep . /proc/acpi/battery/CMB0/* /proc/acpi/battery/CMB0/alarm:alarm: unsupported /proc/acpi/battery/CMB0/info:present: yes /proc/acpi/battery/CMB0/info:design capacity: unknown /proc/acpi/battery/CMB0/info:last full capacity: unknown /proc/acpi/battery/CMB0/info:battery technology: rechargeable /proc/acpi/battery/CMB0/info:design voltage: unknown /proc/acpi/battery/CMB0/info:design capacity warning: 800 mWh /proc/acpi/battery/CMB0/info:design capacity low: 16 mWh /proc/acpi/battery/CMB0/info:capacity granularity 1: 100 mWh /proc/acpi/battery/CMB0/info:capacity granularity 2: 100 mWh /proc/acpi/battery/CMB0/info:model number: BAT1 /proc/acpi/battery/CMB0/info:serial number: 0000 /proc/acpi/battery/CMB0/info:battery type: LION /proc/acpi/battery/CMB0/info:OEM info: COMPAQ /proc/acpi/battery/CMB0/state:present: yes /proc/acpi/battery/CMB0/state:capacity state: ok /proc/acpi/battery/CMB0/state:charging state: discharging /proc/acpi/battery/CMB0/state:present rate: 807 mW /proc/acpi/battery/CMB0/state:remaining capacity: 3549 mWh /proc/acpi/battery/CMB0/state:present voltage: 16424 mV This is a laptop that is over 4 years old with the original battery. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
On Saturday 04 February 2006 19:28, Kenneth Schneider wrote:
On Sat, 2006-02-04 at 19:15 +0100, Danny Kukawka wrote:
On Saturday 04 February 2006 19:08, Kenneth Schneider wrote:
<snip>
This looks really strange. Looks like a broken battery (battery with current level but no last full capacity and no valid battery.charge_level.design). If this is the fact, we can't do anything in KPowersave/powersave/HAL.
Could you attach output of 'grep . /proc/acpi/battery/CMB0/* ' one time with and one time without the AC adapter plugged in.
With the AC adapter plugged in: [...] With the AC adapter unplugged:
lt1720:~ # grep . /proc/acpi/battery/CMB0/* /proc/acpi/battery/CMB0/alarm:alarm: unsupported /proc/acpi/battery/CMB0/info:present: yes /proc/acpi/battery/CMB0/info:design capacity: unknown /proc/acpi/battery/CMB0/info:last full capacity: unknown /proc/acpi/battery/CMB0/info:battery technology: rechargeable /proc/acpi/battery/CMB0/info:design voltage: unknown /proc/acpi/battery/CMB0/info:design capacity warning: 800 mWh /proc/acpi/battery/CMB0/info:design capacity low: 16 mWh /proc/acpi/battery/CMB0/info:capacity granularity 1: 100 mWh /proc/acpi/battery/CMB0/info:capacity granularity 2: 100 mWh /proc/acpi/battery/CMB0/info:model number: BAT1 /proc/acpi/battery/CMB0/info:serial number: 0000 /proc/acpi/battery/CMB0/info:battery type: LION /proc/acpi/battery/CMB0/info:OEM info: COMPAQ /proc/acpi/battery/CMB0/state:present: yes /proc/acpi/battery/CMB0/state:capacity state: ok /proc/acpi/battery/CMB0/state:charging state: discharging /proc/acpi/battery/CMB0/state:present rate: 807 mW /proc/acpi/battery/CMB0/state:remaining capacity: 3549 mWh /proc/acpi/battery/CMB0/state:present voltage: 16424 mV
In this case we can't do anything, because there are no info about 'last full capacity' and also no 'design capacity'. Without this infos you can never say how full or empty the battery is. No way. Maybe try a new battery, a BIOS/DSDT update. Danny
On Sat, 2006-02-04 at 19:53 +0100, Danny Kukawka wrote:
On Saturday 04 February 2006 19:28, Kenneth Schneider wrote:
On Sat, 2006-02-04 at 19:15 +0100, Danny Kukawka wrote:
On Saturday 04 February 2006 19:08, Kenneth Schneider wrote:
<snip>
This looks really strange. Looks like a broken battery (battery with current level but no last full capacity and no valid battery.charge_level.design). If this is the fact, we can't do anything in KPowersave/powersave/HAL.
Could you attach output of 'grep . /proc/acpi/battery/CMB0/* ' one time with and one time without the AC adapter plugged in.
In this case we can't do anything, because there are no info about 'last full capacity' and also no 'design capacity'. Without this infos you can never say how full or empty the battery is. No way.
Maybe try a new battery, a BIOS/DSDT update.
Thanks anyway. For the price of two new batteries I can buy a new laptop. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
What say "powersave -B" and what say lshal about the battery? Is you acipd and the hal-acpi-addon running (check with 'ps aux | grep acpi').
Danny
all are running, and powersave -B shows the right info -- Patricio Bruna V. Jefe de Proyectos y Operaciones de Capacitación Linux Center Latin América http://www.linuxcenterla.com Edificio Birmann 24 Mariano Sanchez Fontecilla 310 Las Condes, Santiago - Chile Central : 56-2-483.4000 Directo : 56-2-483.4042 Fax : 56-2-483.4050
participants (3)
-
Danny Kukawka
-
Kenneth Schneider
-
Patricio Bruna V.