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).
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi,
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.
modprobe battery
cat /proc/acpi/battery/BAT0/info
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/
cd /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.
Hi
When i tried cat /proc/acpi/battery/BAT1/info i got an out put saying
present: no
when i tried "find -name" i got an output like this
find -name 'battery'
./bus/acpi/drivers/battery
./module/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
DRIVER=battery
MODALIAS=acpi:PNP0C0A:
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_SENSORS_ATK0110=m
CONFIG_SENSORS_LIS3LV02D=m
CONFIG_THERMAL=y
CONFIG_THERMAL_HWMON=y
CONFIG_WATCHDOG=y
# CONFIG_WATCHDOG_NOWAYOUT is not set
ONFIG_PANASONIC_LAPTOP=m
CONFIG_COMPAL_LAPTOP=m
CONFIG_SONY_LAPTOP=m
CONFIG_SONYPI_COMPAT=y
CONFIG_THINKPAD_ACPI=m
CONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y
CONFIG_THINKPAD_ACPI_DEBUGFACILITIES=y
# CONFIG_THINKPAD_ACPI_DEBUG is not set
# CONFIG_THINKPAD_ACPI_UNSAFE_LEDS is not set
CONFIG_THINKPAD_ACPI_VIDEO=y
CONFIG_THINKPAD_ACPI_HOTKEY_POLL=y
CONFIG_INTEL_MENLOW=m
CONFIG_EEEPC_LAPTOP=m
CONFIG_ACPI_WMI=y
# CONFIG_ACPI_ASUS is not set
CONFIG_TOPSTAR_LAPTOP=m
CONFIG_ACPI_TOSHIBA=m
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...
Posts: 855
Rep:
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.