SOLVED ... "Battery broken" warning on MATE

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
iain_j

SOLVED ... "Battery broken" warning on MATE

Post 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)?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Oscar799
Level 20
Level 20
Posts: 10411
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Re: "Battery broken" warning on MATE

Post by Oscar799 »

Moved here by moderator
Image
tinbox

Re: "Battery broken" warning on MATE

Post 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!
iain_j

Re: "Battery broken" warning on MATE

Post 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
Knowcontrol

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

Post 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!
alopex

Re: "Battery broken" warning on MATE

Post 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
Locked

Return to “MATE”