LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-19-2020, 04:40 AM   #1
zxy654
LQ Newbie
 
Registered: Jun 2020
Posts: 9

Rep: Reputation: Disabled
how to make my mint notify me of low battery


i wanted to know how to enable or create notification soo that i am notified when my battery is low.
i am using linux mint 19.3 on legion y540.
 
Old 06-19-2020, 06:05 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,678

Rep: Reputation: Disabled
Could you please clarify a bit? You do have a battery status indicator shown, but it doesn't notify you when the charge level is low? Or you don't have any indication at all? And what desktop environment it is? Cinnamon? Does upower -d from the command line show the correct percentage?
 
1 members found this post helpful.
Old 06-19-2020, 10:38 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Do you have a power manager applet in your panel?
Does it have an option to send notifications as you desire?
Is power management working otherwise?
Does
Code:
notify-send bla
create a notification?
 
1 members found this post helpful.
Old 06-19-2020, 11:55 PM   #4
zxy654
LQ Newbie
 
Registered: Jun 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
yes i have the applet in panel it customized it to shows percentage desktop is cinnamon and upower command also works.
but it doesn't give me notification when my battery is below 10% or 20%.
 
Old 06-20-2020, 01:58 AM   #5
aostv apk
LQ Newbie
 
Registered: Jun 2020
Location: chennai
Posts: 1

Rep: Reputation: Disabled
yes power management app will save it, i too agree with this
 
Old 06-20-2020, 03:01 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by zxy654 View Post
but it doesn't give me notification when my battery is below 10% or 20%.
Open a terminal and test the command I gave in my last post.
What happens?
 
Old 06-20-2020, 07:51 AM   #7
zxy654
LQ Newbie
 
Registered: Jun 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
yes it gave a notification of bla

Last edited by zxy654; 06-20-2020 at 07:53 AM.
 
Old 06-20-2020, 11:32 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
OK.
So does the power manager applet have a preferences dialog, and an option to send notifications via libnotify?
If it doesn't then it probably doesn't.
All I can say is, I use xfce4-power-manager, and that definitely sends notifications.
 
Old 06-20-2020, 09:54 PM   #9
zxy654
LQ Newbie
 
Registered: Jun 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
okk
 
Old 06-21-2020, 02:56 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by zxy654 View Post
okk
Thank you for marking your thread SOLVED, but please share your solution.
Others will benefit.
 
Old 06-21-2020, 07:29 PM   #11
zxy654
LQ Newbie
 
Registered: Jun 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
solution is to download your recommended power manager
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Notifications don't show up (notify-send notify-osd) michal017 Linux - Desktop 0 05-06-2014 03:44 PM
Critical battery low bug / linux mint 12 NEQTAN Linux - Laptop and Netbook 10 05-14-2012 08:44 AM
Lan Samba Server. Want it to notify me when disk is running low via email? Moggertron Linux - Software 2 02-05-2012 06:43 AM
Ideas for a low cost, low power, low noise web server/torrent box alecjtaylor Linux - Hardware 13 01-10-2012 05:26 AM
make a command in bash with low priority ( low server load) m_abdelfattah Linux - Newbie 1 07-25-2009 09:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration