Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am using a Toshiba satellite laptop. I installed Linux mint 9 64 bit on it. Linux mint is not detecting battery. i have installed a battery applet but its also saying no battery. In my power management program there is no option for battery mode. when i tried to get info regarding acpi i got the following output
Install acpitools, and you may need to look at your kernel config. There's a whole deal of toshiba-specific options in there. The config is usually given as the file /boot/config-version
BTW, all it needs to know is if you're running on battery and how low. It doesn't play with the battery much. It's often not the distro at all. ACPI has events in /etc/acpi/events, linked to scripts in /etc/acpi(/actions). Start acpid with the -l option, and it will throw events into syslog. So on a terminal fiddle with things - the lid, and you'll see an event 'lidbtn' or whatever. Picking up the battery_critical is the big one, to give yourself a safe landing. I hibernate on that. The bios throws out the events usually - acpi picks them up.
OK. Let's tackle this head on.
This varies - mine is /proc/acpi/battery/C1ED/info - it's got to do with whatever the things are called in the bios dsdt
Next poke around in /sys/
find -name 'battery'
I found one in /sys/bus/acpi or summat. Then there's a symlink or two which takes you to /sys/devices and under a power_supply directory I found C1ED/ again - my battery. In there was all sorts of info. Go to it and see what you have.
When i tried cat /proc/acpi/battery/BAT1/info i got an out put saying
when i tried "find -name" i got an output like this
find -name 'battery'
in ./modules/battery/ there is one file cache_time which contains only one parameter 1000
in ./bus/acpi/drivers/battery/PNP0COA:00 there is a file named path which contains \_SB_.BAT1
there is file named uevent which contains
OK, so it is in there. What's in /sys, or lshal? Have you the battery module in initrd? Grep the logs for battery. We've got to see where it does & doesn't appear. We may even be able to do some clever pointing with modprobe.conf.d/battery.conf
OK, it's not finding the battery.
Next I would rebuild the kernel. You have a toshiba laptop. There is a generic .config (usually) in /boon/config-version.
There are several toshiba like options in the acpi; read up on them. No need to delete your old kernel - just give this one a different name (general setup) and stick it into grub as well as your old one. You also won't need half the modules, but be careful which half you remove!
# ACPI drivers
# CONFIG_WATCHDOG_NOWAYOUT is not set
# CONFIG_THINKPAD_ACPI_DEBUG is not set
# CONFIG_THINKPAD_ACPI_UNSAFE_LEDS is not set
# CONFIG_ACPI_ASUS is not set
I also tried the live cd's of ubuntu and fedora. Both of them failed to detect battery
also i need some help in rebuilding kernel.
I'm not sure where you got those from. Be aware that if you deselect something (e.g· video4linux) all the v4l options disappear from the config. Use make menuconfig and read the kernel README, or any of the many guides.
I would get onto the linux mint support. also run sensors-detect, which may throw up some module that's not being loaded.
I actually just had this problem myself. I have an Acer Aspire 6930 with Linux Mint 9 and an Acer Aspire One netbook with Peppermint Linux. (Which is based on Ubuntu and Mint 9).
Same symptoms, dmesg says (battery absent) and Power Manager doesn't have Battery tab.
On my netbook I was able to fix it by updating the BIOS. The BIOS updates from Acer are in .exe form but I dualboot my netbook so it was easy to update. My Aspire 6930 only has Linux on it so having a little trouble updating the BIOS.
I think this has to do with new software in Linux. Maybe newer kernel or an acpi package. I only noticed this problem after Mint 7.
Hope that helps.
i have tried everything including BIOS update but still i have this problem. Its not only with Linux mint but also with fedora core 13,and Ubuntu 10.04. The problem is its not detecting battery.It says Battery is absent in SLOT 1.
Distribution: Slackware (mainly) and then a lot of others...
Battrey not detected....
Is the battery detected in BIOS?
If it is detected in BIOS are you able to boot the pc up without external power supply? If that too works and all you want is a gui indicator then you may have to look into the menu and find the option for battery.
BTW, I would not care for a battery indicator if everything is working fine.
Its not about Gui indicator .Now there is no way i can find the battery backup. I am also not able to manage my power in battery mode. It is creating problem while traveling.My laptop can boot with out AC power but it is not bale to detect battery from my system.I am using latest BIOS now