Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 29 May 2020, 14:53
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff)
Fatdog battery applet 2
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
dr. Dan


Joined: 20 Apr 2015
Posts: 93
Location: Oregon, U.S.A.

PostPosted: Fri 22 May 2020, 21:20    Post subject:  Fatdog battery applet 2
Subject description: Added functionality to the existing Fatdog utility
 

Greetings all,
By request, I'm starting a new thread for this. From my other post:
Quote:
I've wanted to get more information from the battery icon in the tray for a long time, so I started adding to the fatdog-battery-applet.sh script to make it more to my liking. I don't know that much about shell scripting, but I know more now than before. The script attached below seems to work fairly well. I've tried it on Dell, Gateway/Acer, HP, and Toshiba laptops. I'd appreciate any additional brand-based evaluation.

The script wants configuration files lowbatt, criticalbatt and shutdown in ~/.config/battery_level/, and refers to an as-yet-nonexistant fatdog-power-settings.sh which I envision as being able to set a variety of battery and power usage parameters. Since it doesn't yet exist, sit ignores it.

The code could be more elegant, and I plan to improve it, or incorporate any suggestions I receive, over time. For example, I'll eventually want to simplify the tooltip section, perhaps use a single configuration file, and improve the battery health presentation.

If it is successful and practical, it could be packaged with preset parameters in the appropriate locations, but I haven't figured that bit out yet.

Any feedback is appreciated.

step has replied with some basic and very helpful information that I will incorporate soon and post back. In the mean time, as I wrote before, any feedback is appreciated.

Note: depends on dash and sit.

Dan
fatdog-battery-applet-2.sh.tar.gz
Description 
gz

 Download 
Filename  fatdog-battery-applet-2.sh.tar.gz 
Filesize  2.53 KB 
Downloaded  4 Time(s) 
draining.png
 Description   
 Filesize   11.73 KB
 Viewed   21 Time(s)

draining.png

Charging.png
 Description   
 Filesize   14.3 KB
 Viewed   21 Time(s)

Charging.png

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0309s ][ Queries: 13 (0.0101s) ][ GZIP on ]