Summary: | gnome-base/gnome-applets - Battery monitor misrepresents fill status when on AC | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Peter Weilbacher <gentoo> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | benjamin.gramlich |
Priority: | High | ||
Version: | 1.4_rc4 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Peter Weilbacher
2007-01-18 16:02:10 UTC
According do your USE flags you don't have 'hal' set. The about screen for my version of the applet says that the HAL backend is enabled, and I don't have the problem. Could you try rebuilding gnome-applets with the 'hal' flag set and see if that fixes the issue? Rebuilding with hal (which seems to be off by default?!) didn't change anything apart from the message in the about box. In the meantime I also updated to gnome 2.18 (gnome-applets-2.18.0-r2, hal-0.5.9) and use 2.6.22-suspend2-r1 as kernel. When fully charged and plugged in, the battery charge monitor still shows a short green bar instead of a full green one. I guess this has something to do with your battery reporting mWh and not mAh. If you can provide informations about your model, I'm sure hal upstream will be glad to include the necessary changes into hal-info updates. For example, my battery reads: remaining capacity: 3551 mAh present voltage: 12340 mV This is what hal-device tells me. 3: udi = '/org/freedesktop/Hal/devices/acpi_BAT0' info.capabilities = { 'battery' } (string list) battery.charge_level.warning = 6900 (0x1af4) (int) info.category = 'battery' (string) info.product = 'Battery Bay' (string) battery.technology = 'lithium-ion' (string) battery.reporting.warning = 6900 (0x1af4) (int) battery.rechargeable.is_discharging = false (bool) battery.model = 'M6V' (string) battery.charge_level.granularity_1 = 690 (0x2b2) (int) battery.charge_level.granularity_2 = 690 (0x2b2) (int) linux.acpi_path = '/proc/acpi/battery/BAT0' (string) battery.charge_level.design = 69000 (0x10d88) (int) battery.charge_level.low = 3450 (0xd7a) (int) battery.reporting.last_full = 57810 (0xe1d2) (int) battery.reporting.technology = 'LIon' (string) battery.charge_level.current = 10770 (0x2a12) (int) battery.reporting.granularity_1 = 690 (0x2b2) (int) battery.is_rechargeable = true (bool) battery.reporting.current = 10770 (0x2a12) (int) battery.reporting.granularity_2 = 690 (0x2b2) (int) battery.voltage.unit = 'mV' (string) battery.charge_level.capacity_state = 'ok' (string) info.parent = '/org/freedesktop/Hal/devices/computer' (string) battery.remaining_time = 4795 (0x12bb) (int) battery.rechargeable.is_charging = true (bool) battery.reporting.rate = 35310 (0x89ee) (int) battery.charge_level.rate = 35310 (0x89ee) (int) battery.reporting.design = 69000 (0x10d88) (int) battery.present = true (bool) info.udi = '/org/freedesktop/Hal/devices/acpi_BAT0' (string) linux.acpi_type = 0 (0x0) (int) battery.voltage.design = 14800 (0x39d0) (int) battery.reporting.low = 3450 (0xd7a) (int) battery.type = 'primary' (string) battery.reporting.unit = 'mWh' (string) battery.voltage.current = 15642 (0x3d1a) (int) battery.charge_level.last_full = 57810 (0xe1d2) (int) battery.charge_level.percentage = 18 (0x12) (int) battery.vendor = 'ASUSTEK' (string) linux.hotplug_type = 4 (0x4) (int) battery.charge_level.unit = 'mWh' (string) Let me know if I should provide anything else. is this still an issue with gnome 2.20 or 2.22 and latest hal/hal-info ? I've a new laptop which has a somewhat similar output and it works well with the battapplet in gnome 2.22 with hal-0.5.11. (In reply to comment #5) > is this still an issue with gnome 2.20 or 2.22 and latest hal/hal-info ? > I've a new laptop which has a somewhat similar output and it works well with > the battapplet in gnome 2.22 with hal-0.5.11. Gilles, the newest packages are apparently not yet marked stable (at least I don't get them using normal emerge) so for the moment I can't test with those. I have hal-0.5.9.1-r3 gnome-applets-2.20.1 gnome-light-2.20.3 and I see the same problem as 1.5 years ago. I have installed Gentoo on a new system where I don't use this applet any more. So I cannot reproduce any more and cannot help with any more debugging and I'm closing this bug. |