Page 1 of 1

SOLVED ... "Battery broken" warning on MATE

Posted: Sun Jul 15, 2012 7:25 am
by iain_j
I've just installed LM13 MATE on my laptop (HP G70) and every time I start up I get a warning "Battery may be broken - battery has a very low capacity (38.9%) which means that it may be old or broken". The laptop's plugged in, and when I close the warning, the indicator shows "fully charged". Unplugged, the power statistics "time to empty" is around 50 minutes.

I've got LM13 Cinnamon on another partition and haven't had any such warnings there, and none in the old days of Windows. I rarely use the laptop unplugged anyway. Is there any way to stop this warning (other than buying a new battery)?

Re: "Battery broken" warning on MATE

Posted: Sun Jul 15, 2012 12:54 pm
by Oscar799
Moved here by moderator

Re: "Battery broken" warning on MATE

Posted: Sun Aug 05, 2012 3:24 pm
by tinbox
So I ran into this same issue. Searching you will find lots of advice to edit the gconf file for power-management. This is correct "HOWEVER" as a Mint user you most likely are using MATE or Cinnamon. I happen to be using MATE, so you will not find the desired gconf files they refer you too. The files do exist but exist under MATE rather then gconf.

Code: Select all

su (superuser elevation)
cd /usr/share/mateconf/schemas/
nano mate-power-manager.schemas 
ctrl ^W "broken battery"  (Search for broken battery)
 
You should find the following, change true value to false and save ctrl ^X

Code: Select all

 <schema>
      <key>/schemas/apps/mate-power-manager/notify/low_capacity</key>
      <applyto>/apps/mate-power-manager/notify/low_capacity</applyto>
      <owner>mate-power-manager</owner>
      <type>bool</type>
      <default>false</default>
      <gettext_domain>mate-power-manager</gettext_domain>
      <locale name="C">
        <short>If we should show the low capacity warning for a broken battery<$
        <long>If we should show the low capacity warning for a broken battery.<$
      </locale>
    </schema>
Enjoy!

Re: "Battery broken" warning on MATE

Posted: Thu Aug 16, 2012 5:17 am
by iain_j
Hi tinbox

Thanks for your help, I actually came across a solution while looking for something else (run mateconf-editor, go to apps > mateconf-power-manager > notify, un-check "low_capacity"). I figure that your solution is changing the same setting?

Thanks
Iain

Re: SOLVED ... "Battery broken" warning on MATE

Posted: Sat Feb 23, 2013 2:21 am
by Knowcontrol
The previous solutions didn't work... Iain's solution did and only required a few clicks and zero typing. Thank you so much!

Re: "Battery broken" warning on MATE

Posted: Sun Dec 07, 2014 6:34 am
by alopex
iain_j wrote:Hi tinbox

Thanks for your help, I actually came across a solution while looking for something else (run mateconf-editor, go to apps > mateconf-power-manager > notify, un-check "low_capacity"). I figure that your solution is changing the same setting?

Thanks
Iain
Thank you iain, this is the solution, except the mateconf-editor has been dropped: http://wiki.mate-desktop.org/docs:gsettings
So, if anybody has the same problem, here is the updated solution: 8)
The setting mentioned above is now part of GSettings. Install donf-editor to be able to edit this:

Code: Select all

sudo apt-get install dconf-editor
Run dconf-editor, go to org->mate->power-manager, uncheck notify-low-capacity