[Bug 39413] Re: ubuntu doesn't notice when running on battery

2010-05-02 Thread Maria Perez
My laptop model is a Compact Presario R3454.
I recently upgraded from Ubuntu 8.04 LTS to 10.04 LTS. Now power manager icon 
states it's con AC, no matter whether is true or not. When dealing with 
preferences, battery tab is missing.
Power manager worked fine on 8.0.4 LTS, so it seems there's some kind of 
regression. 
By now, the only way to know if battery status is through 
/proc/acpi/battery/BAT1/*

Would anyone recommend me to downgrade power management package?

-- 
ubuntu doesn't notice when running on battery
https://bugs.launchpad.net/bugs/39413
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2010-02-20 Thread Esqui
This also affects me using Dell Mini10v running Lucid alpha 2.

After some recent updates, it now only shows as AC power (and runs on
full power profile). Running cat /proc/acpi/battery/BAT1/state in
terminal made it work and recognise it was on battery. Killing and
restarting the process did not work either.

This will result in reduced battery life.

-- 
ubuntu doesn't notice when running on battery
https://bugs.launchpad.net/bugs/39413
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2010-02-20 Thread Chris Coulson
Please report a new bug rather than resurrecting a nearly 4 year-old
bug. Despite what you might think, the issue you're experiencing is
unlikely to be related to this bug, as the underlying architecture is
significantly different now

** Changed in: gnome-power-manager (Ubuntu)
   Status: Confirmed = Invalid

-- 
ubuntu doesn't notice when running on battery
https://bugs.launchpad.net/bugs/39413
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2010-01-15 Thread nebcanuck
This is happening for me, too. The behaviour seems to be pretty
consistently that:

a) When I am running on battery power with reasonable energy, gnome-
power-manager does not recognize that I am on battery. This is confirmed
because when I change the power management settings to always show
icon, as opposed to show icon when battery is present, the plug icon
shows up -- indicating no battery but instead AC power.

b) When I get to low battery, suddenly the power-manager icon reappears
and the management settings kick in, including power saving features
like dimming screen.

Also, with a recent update, my sound has disappeared. I am not sure if
this is related or not, since people seem to be suggesting this could be
a HAL issue.

-- 
ubuntu doesn't notice when running on battery
https://bugs.launchpad.net/bugs/39413
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2010-01-15 Thread nebcanuck
I should add that I am running Lucid Lynx with all packages updated.

-- 
ubuntu doesn't notice when running on battery
https://bugs.launchpad.net/bugs/39413
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2010-01-13 Thread zabalero
** Changed in: gnome-power-manager (Ubuntu)
   Status: Invalid = Confirmed

** Changed in: gnome-power-manager (Ubuntu)
 Assignee: (unassigned) = zabalero (zabalero)

** Changed in: gnome-power-manager (Ubuntu)
 Assignee: zabalero (zabalero) = (unassigned)

-- 
ubuntu doesn't notice when running on battery
https://bugs.launchpad.net/bugs/39413
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2008-11-23 Thread Magnus S
Hi, 
this bug report is getting old, so i'm closing it now. If this issue is still 
affecting you, please reopen.
To reopen the bug report you can click on the current status, under the Status 
column, and change the Status back to New. Thanks again!

** Changed in: gnome-power-manager (Ubuntu)
   Status: Incomplete = Invalid

-- 
ubuntu doesn't notice when running on battery
https://bugs.launchpad.net/bugs/39413
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2008-04-02 Thread Dani Alonso
I'm in hardy. The battery is not recognized at all:

With ac plug:

acpi -V:

 Thermal 1: ok, 27.0 degrees C
 Thermal 2: ok, 27.0 degrees C
  AC Adapter 1: on-line

Without it, running on batteries:

acpi -V:

 Thermal 1: ok, 27.0 degrees C
 Thermal 2: ok, 27.0 degrees C
  AC Adapter 1: off-line

Is this a kernel or gnome-power-manager fault?

-- 
ubuntu doesn't notice when running on battery
https://bugs.launchpad.net/bugs/39413
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2008-03-13 Thread Ted Gould
Marking incomplete pending the response on the HAL update in Hardy
(fixed it for me).

** Changed in: gnome-power-manager (Ubuntu)
   Status: Confirmed = Incomplete

-- 
ubuntu doesn't notice when running on battery
https://bugs.launchpad.net/bugs/39413
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2008-03-03 Thread Data
Does the bug still occur after today's update of hal in hardy?

-- 
ubuntu doesn't notice when running on battery
https://bugs.launchpad.net/bugs/39413
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2007-11-23 Thread Sam Peterson
There are a apparently lots of causes for this problem.  One cause is
the kernel not recognizing the battery properly.  If that is the case,
then even the acpi -V command won't show a battery.  However, if that
command shows a battery connected, then the problem lies with the hal -
dbus - gnome-power-manager chain.  My problem was the latter, and I
just fixed this by

sudo sysv-rc-conf -p

Then going to the hal service and changing each S## level to read S99.
That made the hal service start after everything else.  I don't know if
this has any harmful side effects, but I've booted once so far without
any hiccups and now gnome-power-manager finally detects the battery
properly, and even sleep/suspends/hibernates and shows the brightness
applet properly.

What I find strange is that I never changed this myself and the hal -
dbus - gnome-power-manager communication worked fine before.  The one
thing I did which changed this was to restart dbus manually.  Ever since
I had done that, gnome-power-manager had failed to detect the battery
unless I restarted the hal service.  I can't imagine why doing that
would have changed anything, but it did.

As for the kernel problems, I can't be of any help there.  That's a
kernel related bug and should probably be filled under the relevant
linux package.

-- 
ubuntu doesn't notice when running on battery
https://bugs.launchpad.net/bugs/39413
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2007-11-10 Thread alex f
After a BIOS update this isn't happening anymore to me.

-- 
ubuntu doesn't notice when running on battery
https://bugs.launchpad.net/bugs/39413
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2007-11-08 Thread Jimbo
I too have had this problem in Feisty and Gusty Ubuntu. I have a Toshiba
M100 Laptop. I posted this problem several months ago on the Ubuntu
forums but no one has replied to it. You'll notice the acpi -V giving a
message saying the battery is discharging and the AC is online. This bug
is very annoying...

Here are the specs of my system:

*Note: These results are for Feisty, I get the same results in Gusty
except for the uname -a of course.

Feisty Ubuntu 7.04 
Toshiba Satellite M100
9 Cell Battery
Intel Centrino Core Duo T2400 / 1.83 Ghz

$uname -a
Linux nanode 2.6.20-16-generic #2 SMP Fri Aug 31 00:55:27 UTC 2007 i686 
GNU/Linux

$acpi -V
Battery 1: discharging, 66%, remaining
No support for device type: thermal
AC Adapter 1: on-line

$hal-find-by-capability --capability battery
/org/freedesktop/Hal/devices/acpi_BAT1

$cat /proc/acpi/battery/BAT1/info
present: yes
design capacity: 8600 mAh
last full capacity: 8600 mAh
battery technology: rechargeable
design voltage: 11100 mV
design capacity warning: 420 mAh
design capacity low: 258 mAh
capacity granularity 1: 264 mAh
capacity granularity 2: 3780 mAh
model number: PA3400U
serial number: 3658Q
battery type: Li-Ion
OEM info: TOSHIBA

$cat /proc/acpi/battery/BAT1/state
present: yes
capacity state: ok
charging state: discharging
present rate: 0 mA
remaining capacity: 5160 mAh
present voltage: 11100 mV

-- 
ubuntu doesn't notice when running on battery
https://bugs.launchpad.net/bugs/39413
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2007-11-08 Thread Jimbo
Sorry I mean to post this too, here is a link to my post on the Ubuntu
forums:

http://ubuntuforums.org/showthread.php?t=557725

You guys should post there and let others know that this is an issue
that more then one person is having problems with

-- 
ubuntu doesn't notice when running on battery
https://bugs.launchpad.net/bugs/39413
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2007-10-26 Thread Sam Peterson
** Changed in: gnome-power-manager (Ubuntu)
   Status: New = Confirmed

-- 
ubuntu doesn't notice when running on battery
https://bugs.launchpad.net/bugs/39413
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2007-10-26 Thread Sam Peterson
Okay, I tried reinstalling the hal package as suggested above and this
fixed the problem while the laptop was booted.  However, on reboot, the
problem comes back.  I think we can safely say at this point that the
problem lies with the hal package, not gnome-power-manager..

-- 
ubuntu doesn't notice when running on battery
https://bugs.launchpad.net/bugs/39413
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2007-10-25 Thread Sam Peterson
I am experiencing this bug as well.  It happened after I manually
restarted the dbus service.  This is apparently a problem related to how
gnome-power-management and dbus interact.

-- 
ubuntu doesn't notice when running on battery
https://bugs.launchpad.net/bugs/39413
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2007-10-04 Thread Siebren Bakker
I have been getting this bug recently as well. I am running a 1.5yr old Compaq 
Presario v2000 laptop. I've been using Ubuntu Gutsy since tribe 5 came out, and 
within the last month, after a round of updates, gnome-power-manager says I am 
running on AC power, with or without AC power present. Also, the battery tab 
has completely disappeared from the gnome-power-manager preferences gui-window, 
yet whenever I execute the 
cat /proc/acpi/battery/*/state
command in a terminal, it correctly states whether the battery is charging, 
charged, or discharging depending on it's charge state, and AC power status.

-- 
ubuntu doesn't notice when running on battery
https://bugs.launchpad.net/bugs/39413
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2007-05-30 Thread della
I am still experiencing this problem. After latest hal update, LID close
is detected and monitor is made blank as stated. But I still need to
reinstall hal to make ubuntu detect battery, power manager applet
appears on tray and show correct battery status.

Following the info of my battery (they doesn't change, of course, before
and after reinstalling hal). After you can see a startup phase of
/var/log/acpid

[EMAIL PROTECTED]:~$ cat /proc/acpi/battery/BAT0/info 
present: yes
design capacity: 50200 mWh
last full capacity:  54220 mWh
battery technology:  rechargeable
design voltage:  10950 mV
design capacity warning: 250 mWh
design capacity low: 100 mWh
capacity granularity 1:  10 mWh
capacity granularity 2:  10 mWh
model number:ASMB013
serial number:   
battery type:LION013
OEM info:DPON013
[EMAIL PROTECTED]:~$ cat /proc/acpi/battery/BAT0/state 
present: yes
capacity state:  ok
charging state:  charging
present rate:19208 mW
remaining capacity:  30740 mWh
present voltage: 11894 mV
[EMAIL PROTECTED]:~$ cat /proc/acpi/battery/BAT0/alarm 
alarm:   unsupported

-- begin of /var/log/acpid --

[Tue May 29 09:57:22 2007] starting up
[Tue May 29 09:57:22 2007] 55 rules loaded
[Tue May 29 09:57:23 2007] client connected from 4878[107:112]
[Tue May 29 09:57:23 2007] 1 client rule loaded
[Tue May 29 09:58:58 2007] received event ac_adapter ADP1 0080 0001
[Tue May 29 09:58:58 2007] notifying client 4878[107:112]
[Tue May 29 09:58:58 2007] executing action /etc/acpi/power.sh
[Tue May 29 09:58:58 2007] BEGIN HANDLER MESSAGES
[Tue May 29 09:58:58 2007] END HANDLER MESSAGES
[Tue May 29 09:58:58 2007] action exited with status 0
[Tue May 29 09:58:58 2007] completed event ac_adapter ADP1 0080 0001
[Tue May 29 09:58:58 2007] received event processor CPU0 0080 
[Tue May 29 09:58:58 2007] notifying client 4878[107:112]
[Tue May 29 09:58:58 2007] completed event processor CPU0 0080 
[Tue May 29 09:58:58 2007] received event processor CPU0 0081 
[Tue May 29 09:58:58 2007] notifying client 4878[107:112]
[Tue May 29 09:58:58 2007] completed event processor CPU0 0081 
[Tue May 29 09:58:58 2007] received event processor CPU1 0080 
[Tue May 29 09:58:58 2007] notifying client 4878[107:112]
[Tue May 29 09:58:58 2007] completed event processor CPU1 0080 
[Tue May 29 09:58:58 2007] received event processor CPU1 0081 
[Tue May 29 09:58:58 2007] notifying client 4878[107:112]
[Tue May 29 09:58:58 2007] completed event processor CPU1 0081 
[Tue May 29 09:58:58 2007] received event battery BAT0 0080 0001
[Tue May 29 09:58:58 2007] notifying client 4878[107:112]
[Tue May 29 09:58:58 2007] executing action /etc/acpi/power.sh
[Tue May 29 09:58:58 2007] BEGIN HANDLER MESSAGES
[Tue May 29 09:58:58 2007] END HANDLER MESSAGES
[Tue May 29 09:58:58 2007] action exited with status 0
[Tue May 29 09:58:58 2007] completed event battery BAT0 0080 0001

-- 
ubuntu doesn't notice when running on battery
https://bugs.launchpad.net/bugs/39413
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2007-03-10 Thread della
Some udates: today, after update to ubuntu9 version of hal packages, 
gnome-power-preferences has stated to show battery tab again and the battery 
icon appears in the panel. 
Then I restarted and everything is as before (not working). 

More over, since yesterday afternoon, without any apparent reasone,
also legacy backend is not able to get information from battery other
than charging state, this is output:

[EMAIL PROTECTED]:~$ cat /proc/acpi/battery/BAT0/state 
present: yes
capacity state:  ok
charging state:  charging
present rate:0 mW
remaining capacity:  0 mWh
present voltage: 0 mV

-- 
ubuntu doesn't notice when running on battery
https://launchpad.net/bugs/39413

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2007-03-06 Thread della
I am experiencing something very similar on my macbook core2 duo, using feisty. 
Everything was good but after the 17th of February update Ubuntu does not 
detect my machine as a laptop. 
What is happening:

1. gnome-power-preferences just show me AC power tab options. 
2. battery charge monitor applet loads and show correct battery status but says 
it is using Legacy (non hal) backend. 
3. cat /proc/acpi/battery/BAT0/state and info seems pretty good. 

so it seems that hal does not detect battery and everyone that just can
use hal behave according to this fact.

How may I check why hal is misbehaving?

-- 
ubuntu doesn't notice when running on battery
https://launchpad.net/bugs/39413

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2006-11-19 Thread Louis-Xavier Brusset
I am experiencing something similar on Edgy Eft

I have an ASUS A6000 AMD64, I am running Generic 64bits kernel.

on /proc/acpi/ac_adapter/AC0/ file state is empty

on /proc/acpi/battery/BAT0/ files alarm info and state are empty


** Attachment added: Result of gconftool
   http://librarian.launchpad.net/564/gconftool_PowerManager

-- 
ubuntu doesn't notice when running on battery
https://launchpad.net/bugs/39413

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2006-11-19 Thread Louis-Xavier Brusset
I join result of lshal command

** Attachment added: lshal result
   http://librarian.launchpad.net/565/lshal_Edgy

-- 
ubuntu doesn't notice when running on battery
https://launchpad.net/bugs/39413

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 39413] Re: ubuntu doesn't notice when running on battery

2006-11-19 Thread Louis-Xavier Brusset
So I may resume what's happening :
After I installed Edgy Eft on my computer it seems that everything is 
configured like I got a desktop computer and not a laptop, the Energy manager 
does not allow me to configure a battery operated mode, and there seem to be no 
difference between the time I operate on battery or on AC power.

-- 
ubuntu doesn't notice when running on battery
https://launchpad.net/bugs/39413

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs