LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Suse Battery Meter (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/suse-battery-meter-351376/)

exit 08-08-2005 11:47 PM

Suse Battery Meter
 
I've seen a couple posts about this but with no resolve. Thought I'd try it again. I can't get my battery meter to work. I've got an Acer Aspire running SuSE 9.3.

lsmod returns the line "battery 10116 0"

cat /proc/acpi/battery/BAT1/state returns:

present: yes
ERROR: Unable to read battery status

Thanks for any help.

SlackerLX 08-09-2005 05:11 PM

run Yast 2
reinstall all ACPI
Reconfigure it only after reboot! IMPORTANT!

exit 08-09-2005 11:03 PM

Thanks for the reply. I'm a little ignorant.

I went into yast and removed 'acpid', 'pmtools', and 'powersave'. Restarted. Opened yast and reinstalled those three. Restarted. What exactly do I have to reconfigure acpi? Thanks

SlackerLX 08-10-2005 03:05 AM

See if your system supports suspend to RAM. Usually it's not recommended by SuSE. In Yast power management configure your schemes for AC and battery power as you like it. That's it:scratch:

exit 08-10-2005 09:26 AM

Thanks again.

It doesn't allow suspend to Ram. I also disabled suspend to disk, just in case. The battery meter still just reads "Running on batteries--1% charged"

One thing I've noticed (may be irrelevant) is that in Yast > System > System Services (Runlevel), 'acpid' is not running, but 'powersaved (especially for laptops)' is. I believe I saw somewhere that 'powersaved' runs acpid though. Is this true? I can't seem to have both of them running at the same time.

I'll keep playing with it and post anything I find out.

Thanks for the help thus far.

SlackerLX 08-10-2005 09:47 AM

In fact suspend to disk is a nice feature. Sorta M$ Hibernation thingy.
I have it on my IBM

Alex_Ricardo 12-09-2005 09:09 AM

Battery Status
 
I have just downloaded the last kernel update (using YAST) on my suse linux 10.0 and then it started to recognize the battery status

con 12-11-2005 05:15 AM

Exit, what acer aspire do you have... could be that the dsdt is broken and you have to get a new one from acpi.sf.net. as with alot of acers laptops

seelenbild28 12-21-2005 05:46 PM

this was also my impression. broken dsdt-tables is known for acer notebooks but also for others. the reason is that windoofs usually does not think about some errors in that tables and it works more or less. but linux is exact and intelligent. so you have to get the right table and to put it with yast into your initrd at boot, then all works fine. yast->system->editor for /etc/sysconfig->kernel and so on. there is one option you can put the path to your dsdt-table in. but, important, you should follow the instructions on the homepage for the dsdt-tables to build your table right. as far as I remember you have to compile the downloaded file with some intel-driver to get your table.

exit 12-22-2005 11:32 PM

thanks for the suggestions all. I haven't had any time to play with the machine between school and work. I'm wanting to install SuSE 10 and see if I have any luck with that, of course that has opened up an entirely different can of worms (see post http://www.linuxquestions.org/questi...02#post2012802)

once I get that installed, I'll post whatever I find. thanks again.

exit 12-26-2005 11:26 AM

I managed to get SuSE 10.0 loaded and tried Alex_Ricardo's suggestion of updating the kernel. Turns out that actually works. When all else fails, wait for a newer release :) Thanks for all the help.


All times are GMT -5. The time now is 11:12 PM.