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.
I am having weirdness from my battery charging. I had blamed hardware but I was wondering if linux could be responsible.
/sys/class/power_supply/C1ED/status shows one of
* Charging
* Discharging
* Unknown (= Discharging). This one worries me.
The battery is rarely charged, so I have no battery life. If it has a charge, the system elects to discharge the battery instead of using the plugged in mains supply. It has shut down over low battery with the power supply plugged in :-/.
If I unplug the battery, leave it a few seconds, and replace it, a charge starts. On suspend/hibernate, even if I have a charging light, the battery never fills. But if I switch off, I can charge it fully. And immediately I turn on, the system drains it again unless I take the battery out.
What control has linux over this? Anything I can check?
Maybe you have a faulty DSDT file? I don't know much about it, but I know that it has something to do with the power management system. I know it's not exactly the same as yours, but in my case, I had to compile a kernel with a custom DSDT file in order for my laptop to recognize the battery power state. This has some info on the DSDT: https://lesswatts.org/projects/acpi/overridingDSDT.php
You will need the program acpica from slackbuilds. Then copy the DSDT file from /sys/firmware/acpi/tables/ into your desktop and disassemble it with:
Code:
iasl -d DSDT.dat
and recompile it to see if you get any errors. You can google the errors:
Code:
iasl -tc DSDT.dsl
Once you get the errors fixed, save it and recompile it again. Then you'll have to compile a kernel and make that kernel use that DSDT file.
The DSDT is in the BIOS, and has just been updated to a 2011 version. It's a 2007/2008 laptop, and the dsdt worked for years. I nearly went at it when I bought the box, but it was just configuration. Windows uses the same dsdt, and the problem isn't serious enough for me to try a 'kill or cure' approach like recompiling the dsdt.
Solved this. The @#&$£! box _is_not_charging_ while off, on suspend, or hibernate. Hardware fault. Unplugging the battery and putting it back gives me a 'charging' light - but it's not charging. Linux isn't involved.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.