battery level warning on a laptop

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
b0wleyj0
Level 1
Level 1
Posts: 6
Joined: Wed Jun 20, 2018 8:34 pm

battery level warning on a laptop

Post by b0wleyj0 » Wed Jun 20, 2018 8:49 pm

hey guys
im pretty new to linux and i have very little knowledge.

i have a really annoying problem when using mint on my laptop

when im watching movies/videos in full screen mode i have no way of knowing my battery level and my laptop doesn't warn me when my battery is getting low. until recently i just kept it plugged in while watching stuf but now im living in a van and have to use a rather noisy inverter to power the laptop that kind of ruins the watching experience.

i have managed to install a battery warning system that i found on this link

http://linuxsoftware.moncerbae.com/2015 ... buntu.html

it doesnt seem to make a sound or appear over the top of the video when in full screen, is there any way i can edit this application to make a sound or is there another one i can use that will make a sound and or appear over the top of a full screen video ??

i also have noticed that recently my software manager wont open. when i click on it on the menu the menu drops down and nothing happens, could anyone help me with getting this to work again ?

b0wleyj0
Level 1
Level 1
Posts: 6
Joined: Wed Jun 20, 2018 8:34 pm

Re: battery level warning on a laptop

Post by b0wleyj0 » Thu Jun 21, 2018 12:48 am

i have now realised that the battery warning software i thought i had installed is actually doing nothing at all.

User avatar
powerwagon75
Level 3
Level 3
Posts: 169
Joined: Sun Feb 28, 2016 4:05 pm
Location: USA

Re: battery level warning on a laptop

Post by powerwagon75 » Thu Jun 21, 2018 1:30 am

We use Battery Applet with Monitoring and Shutdown on our Mac laptop. Seems to work well. Set a slider for the warning percentage, and the suspend point is a fixed percentage below that. Gives a color icon that changes color at the warning, and also give a short session of beeps. The creator also suggest getting these installed to ensure colors and audible alerts work as expected: sudo apt-get install zenity sox libsox-fmt-mp3
BAMS.png
Image
Image

b0wleyj0
Level 1
Level 1
Posts: 6
Joined: Wed Jun 20, 2018 8:34 pm

Re: battery level warning on a laptop

Post by b0wleyj0 » Thu Jun 21, 2018 10:10 pm

that sounds great but i cant seem to find the folder that i need to extract it to ? ? could you walk me through it please ?

b0wleyj0
Level 1
Level 1
Posts: 6
Joined: Wed Jun 20, 2018 8:34 pm

Re: battery level warning on a laptop

Post by b0wleyj0 » Thu Jun 21, 2018 10:54 pm

when i get to .local then click on shae i get these option

applications
desktop directories
gegl-03
gstreamer- 1.0
gvfs metadata
icons
keyrings
mediahuman
pix
rhythm
trash
vlc
webkitgtk
xplayer


i extracted it to the applications folder as that is the closest match.

now comes the other problem no system settings applets option

so i tried adding it as a startup application but then it wants me to select which file i want inside the folder

so i added batteryscript.sh

i restarted the computer and nothing seems to be happening. wh


what am i doing wrong here ?

User avatar
powerwagon75
Level 3
Level 3
Posts: 169
Joined: Sun Feb 28, 2016 4:05 pm
Location: USA

Re: battery level warning on a laptop

Post by powerwagon75 » Fri Jun 22, 2018 8:33 am

There is no extraction or scripting needed by you for the applet. Go to Menu --> Preferences --> Applets, click on the Available on line or Download tab, (depending on which version you have), find the BAMS applet, and install it. Then, copy this text exactly sudo apt-get install zenity sox libsox-fmt-mp3 open terminal (Ctl+Alt+T) and paste the text (Ctl+Shift+v, or right-click mouse/paste). Hit enter. You'll be prompted for your password; enter it. You won't see any text or dots, just type in the password and hit enter. Then, after those install in terminal, go back to the Applets window, and go to Installed Applets or Manage tabs (depending on which version you have), highlight the applet by clicking on it once, then add it to the panel by clicking on Add or +.

To configure, right-click the icon in the panel for it, select configure, and move the slider to the point you want to first be warned of low battery. The second warning (Suspend action) is a fixed percentage less than the initial warning you set. It should play a shrill beep sound for a few seconds when your battery level reaches the initial alert percentage.
Image
Image

Linux_Lobo
Level 1
Level 1
Posts: 11
Joined: Mon Jun 18, 2018 6:17 am

Re: battery level warning on a laptop

Post by Linux_Lobo » Mon Jun 25, 2018 7:27 am

Great response. It's exactly what I was looking for. Thank you

Post Reply

Return to “Newbie Questions”