Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have just bought a lovely ThinkPad Edge 11 which have ~6 hours of surfing in Windows 7. But unfortunately, a clean Ubuntu 10.10 give me max 4 hours which is not satisfactorily. Therefore I have installed laptop-mode-tools and powertop.

In the sequence of installing and using these tools something have gone wrong. Now, the laptop don't recognize when the power is plugged off so the screen etc. is not dimmed. It still makes a sound when power is plugged in and taken out but I suspect that this is not through Ubuntu. I have tried uninstall of the tools and, of cause, rebooting - but nothing helps. I'm not a pro with Linux so some expertise would be appreciated. Any ideas to how I can restore the settings or get it to recognize "on battery"?

Update: I have tried reinstalling acpi-support, pm-utils and laptop-detect without luck.

share|improve this question

3 Answers 3

up vote 1 down vote accepted

I discovered that /proc/acpi/battery/BAT1/info was erased somehow. So I found out that the battery-information will be reset when:

  1. Shutdown
  2. Take battery out
  3. Turn on
  4. Shutdown
  5. Plug in the battery
  6. Turn on

It works now :)

share|improve this answer

In my opinion not recognizing the battery really isn't a Ubuntu problem but a Linux kernel problem. I also have it with openSuse 11.4 and kernel 3.1.0-rc5-1-vanilla. I have found out that the battery is detected when one of the following happens:

  1. Disconnect and connect the external power supply ("AC")
  2. Open the lid of the notebook.
  3. and the most weird: do as described above.

The static properties of the battery where detected but not shown in the /sys subdirectories because the dynamic properties (current voltage, current, load, load state), especially battery_present, where not detected and hence the battery information is removed from /sys by the kernel.

With Windows 7 the battery was immediately recognized.

It would be nice to inform the kernel developers of this ... but bugzilla.kernel.org now has been down for some time ...

share|improve this answer

maybe looking at system-> administration -> Additional Drivers.

share|improve this answer
    
YES! Your answer was not correct, but it lead me to a answer on a forum. Thanks :) –  Lasse Espeholt Oct 25 '10 at 18:59
    
then could you post the link so in the future people who have the same problems are guided to the correct place please. maybe tick mine? –  jnut Oct 25 '10 at 19:40
    
I have posted an answer if you didn't notice :) –  Lasse Espeholt Oct 26 '10 at 8:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.