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 Tue 23 Sep 2014, 12:35
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Batterup - A Laptop Battery Monitor
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
rcrsn51


Joined: 05 Sep 2006
Posts: 9126
Location: Stratford, Ontario

PostPosted: Fri 27 Dec 2013, 08:42    Post subject:  Batterup - A Laptop Battery Monitor  

As laptop batteries age, they may start to misreport their information to the computer, causing the Puppy battery monitor to fail.

Batterup is a very simple replacement that will keep working. It displays the time remaining until shutdown and pops up a warning message when the battery is getting low.

Please note that the Batterup tray icon does NOT change with the status of the battery.

--------------------------------

The default warning time is 5 minutes, but you can easily change it.

1. Go to the folder /root/Startup
2. Open the file batterup_start in a text editor.
3. Line 3 is:
Code:
WARNTIME=5   # minutes from shutdown

4. Change the 5 to whatever you want.
5. Run Utility > Batterup Restart

-----------------------------
batterup-1.3.pet
Description  Updated 2014-06-30
pet

 Download 
Filename  batterup-1.3.pet 
Filesize  4.63 KB 
Downloaded  35 Time(s) 
screenie.png
 Description   
 Filesize   4.59 KB
 Viewed   277 Time(s)

screenie.png


Last edited by rcrsn51 on Thu 17 Jul 2014, 06:13; edited 19 times in total
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8253

PostPosted: Fri 27 Dec 2013, 10:20    Post subject:  

looks neat...quick test on 4.12 was fine so nice an compatible.

One feature I noticed is its easy to alter where it gets the battery info from...I had to make a custom vattery for one persons machine.

mike
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9126
Location: Stratford, Ontario

PostPosted: Fri 27 Dec 2013, 10:56    Post subject:  

Thanks for testing this.

When working with zaivala here, I discovered that some batteries report their data in mWh instead of mAh. I believe that Batterup should also work with these batteries, but it has not been verified.

If you have access to this type of battery, could you please test it?
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8253

PostPosted: Fri 27 Dec 2013, 11:10    Post subject:  

Well as it happens this notebook does use mwh.... incorrectly (it actually should be mAh) but the time remaining is correct. And yes its a battery in a poor state...gets 25 minutes max Smile...so perhaps a good test.

I like the flexible wrapper/config

mike
Back to top
View user's profile Send private message 
nilsonmorales


Joined: 15 Apr 2011
Posts: 485
Location: El salvador

PostPosted: Fri 27 Dec 2013, 12:50    Post subject:  

Spanish translate
mo&po.tar
Description  md5sum 658a1408f8362d2ba87f03b96e6f01e8 mo&po.tar
tar

 Download 
Filename  mo&po.tar 
Filesize  10 KB 
Downloaded  131 Time(s) 

_________________
My blog


Back to top
View user's profile Send private message MSN Messenger 
rcrsn51


Joined: 05 Sep 2006
Posts: 9126
Location: Stratford, Ontario

PostPosted: Fri 27 Dec 2013, 13:02    Post subject:  

mikeb wrote:
Well as it happens this notebook does use mwh.... incorrectly (it actually should be mAh) but the time remaining is correct. And yes its a battery in a poor state...gets 25 minutes max Smile...so perhaps a good test.mike

Thanks. Since P=VI, I was pretty sure that it would work.

@nilsonmorales: Here is the source.
batterup_tray.c-1.2D.tar.gz
Description  Updated 2013-12-30 for v1.2D
gz

 Download 
Filename  batterup_tray.c-1.2D.tar.gz 
Filesize  1.25 KB 
Downloaded  137 Time(s) 
batterup_tray.c.tar.gz
Description 
gz

 Download 
Filename  batterup_tray.c.tar.gz 
Filesize  1.15 KB 
Downloaded  146 Time(s) 

Last edited by rcrsn51 on Mon 30 Dec 2013, 08:29; edited 1 time in total
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9126
Location: Stratford, Ontario

PostPosted: Sun 29 Dec 2013, 07:16    Post subject:  

Batterup v1.1 is posted above. Please read the Update information.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9126
Location: Stratford, Ontario

PostPosted: Mon 30 Dec 2013, 08:34    Post subject:  

Batterup v1.2D is posted above. Please read the Update information.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
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.0542s ][ Queries: 13 (0.0050s) ][ GZIP on ]