Happiness is just a lack of information!

Ubuntu 14.04 doesn’t recognize laptop battery ( Dell Inspiron 15 7537 )

2014-06-08 – 17:06

UPDATE: Apparently this workaround is not working anymore. I gave up on searching any further.

This took a few weeks to figure out so this is again another reminder for myself:


On a fresh install of Ubuntu 14.04 on a Dell Inspiron 15 7537, Ubuntu fails to detect the laptop battery when running on battery, thus the battery indicator is missing. The only way to temporarily fix this was to connect the AC power supply for a few seconds. Even after removing the power supply the battery indicator remains where it should be. Confusingly “dmesg” still reports the battery “BAT0” as “absent”….

After digging around in discussion boards and Ubuntu’s Launchpad I have finally found a solution that works for me (the essential hint came from here: https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1088146/comments/13 ):

Simply add the option acpi_osi=Linux to your GRUB commandline.
To make this a permanent solution you can edit the file /etc/default/grub and append the option to the line

so that it looks like this:
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash acpi_osi=Linux”

Don’t forget to run update-grub2 to regenerate the grub menu.

  1. 11 Responses to “Ubuntu 14.04 doesn’t recognize laptop battery ( Dell Inspiron 15 7537 )”

  2. Good job! It works for me too. I was trying to find the solution for more than week.

    By scretch on Nov 22, 2015

  3. After second reboot notebook doesnt recognizing battery again. Only if I connect AC power suply.
    I checked grub and there is still this:
    GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash acpi_osi=Linux”

    Dell inpiron 7537 Ubuntu 15.10

    By scretch on Nov 22, 2015

  4. *scratch
    Where did you make the changes? In the GRUB boot menu (pressing “e” on the selected entry) or in /etc/default/grub?
    Did you run “update-grub2” after editing /etc/default/grub?

    Are the options
    ”quiet splash acpi_osi=Linux”
    visible in the GRUB menu (again when pressing “e” in the boot loader)?

    By dennis2society on Nov 22, 2015

  5. I made the changes in /etc… not in boot menu.
    I did run update-grub2 after editing.

    The options are visible in Grub menu in boot loader.

    By scretch on Nov 22, 2015

  6. Hmm. Then I am running out of ideas.. Sorry.

    By dennis2society on Nov 22, 2015

  7. Nevermind. Thanks

    By scretch on Nov 22, 2015

  8. That’s due to kernel changes made in 15.10, it worked with previous iterations: https://bugzilla.kernel.org/show_bug.cgi?id=105721

    By orety on Jan 6, 2016

  9. Thanks for the update, orety.
    I have noticed the same on my own machine recently after updating to 15.10, with some delay, though, as my machine is connected to a power supply most of the time.
    I will test again to check if the acpi_osi flag is still needed after the next kernel update.

    By dennis2society on Jan 6, 2016

  10. Thanks for this!

    I have a Dell Inspiron M5110 running Ubuntu 18.04. The battery was not detected at all.

    I would just add that to access the grub file enter this in terminal

    sudo gedit /etc/default/grub

    Make the edit as you suggested:
    GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash acpi_osi=Linux”

    Save the file
    Then in terminal run:
    sudo update-grub2

    Then restart. My battery is now detected. Thanks!

    By jj on Jun 29, 2018

  11. Thanks for feedback, jj.
    In fact I thought this wouldn’t work anymore and I was about to remove the post. But good to hear that it is still helpful after more than 4 years.

    By dennis2society on Jun 30, 2018

  12. “Similar” prob..
    Inspiron 5110..
    New Battery (was doing this on old battery too)
    New batt installed, showing 75% charged to 100%.
    dmesg shows batt present. BUT laptop goes hard off about 5-10+seconds after power removed.
    I booted into Windoze, and it ran fine for 10 min, dropped from 100% to 95%..
    Back to Ubuntu, hard off during power up.. but shows 100% when powered up with powercable re-attached :\..

    By DR on Aug 21, 2018

Post a Comment

Insert a smiley:

To prevent spam and comments of people who don't
know about mathematics you have to enter the result
into the field on the right side.
Hint: Possible answers are '-3', '-2', '0', '1' and '6x'.
Some challenges have more than one correct answer!

Please note: Comments will be approved manually!
It may take a few hours to check if yours is legitimate.
Spam protection