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.

Dell XPS has the following option in Windows 8: I assume it's a hardware switch that is set somehow, so does it stick when rebooting to Ubuntu? Is there a way to check or switch this option from Linux?

I assume there's a driver somewhere since Dell makes the XPS 13, a Linux-preinstalled version of the XPS.

Dell Battery Longevity Mode

share|improve this question
    
Think this might help not sure though askubuntu.com/a/72570/263677 –  user263677 Mar 30 at 19:54

3 Answers 3

As previous answers have mentioned, this is not a hardware switch, but instead a software function. There is a kernel module available (tp-smapi-dkms), but it only works for Lenovo ThinkPads.

Enabling this function on your Dell laptop would require you or the vendor to write and implement a kernel module for your laptop model, the same way as they wrote the software for Windows.

Right now, your best bet is to unplug the battery manually when it's reached 80%. If you have some coding skills, you can use acpitool and notify-send to write an script to let you know when the battery has reached its 80%. acpitool -B will display information about your battery, from where you can grep some information.

tl;dr: No, you cannot do it at this point, your vendor would need to write the software as it's not a hardware switch.

share|improve this answer
    
So Dell doesn't write a driver for this, not even for the XPS 13 Ubuntu edition? –  NoBugs Mar 30 at 21:14
    
That's correct - even though they have Ubuntu preinstalled in some machines they don't offer the kernel module. I think you may try complaining with them, but as they're a company maybe developing that specific kernel module doesn't fit their interests/roadmap. –  joseeantonior Mar 30 at 21:30

no, it is not a hardware swtich. it is a software function. you can even set the same thing to happen in ubuntu. look at the link below for clarification.

How can I limit battery charging to 80% capacity?

share|improve this answer
    
Unfortunately I don't remember any BIOS setting for this, and that link is for Lenovo battery limit system. –  NoBugs Mar 30 at 21:13
    
it is not a bios function. changing the charge limit is a function of kernel. that is what i wanted to show that charging limit is a function of kernel(the commands are self-explanatory). i have the same setting on my fujitsu laptop. so you can enable it on any laptop. –  aveemashfaq Mar 31 at 6:19

Dell longevity feature is only usable on Windows OS via driver.

Dell haven`t developed any program to support that feature on Linux, also there no third party drivers for that.

My thinkpad Supports Tp smapi that allows battery charging and discharging control, hard drive active protection.

share|improve this answer
    
That's what I guessed, but... what's your source for this? –  NoBugs Apr 5 at 15:26
    
I asked a question at Dell Support! You can try it at Dell helpline number. –  Sagar Apr 5 at 15:29

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.