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 21 Nov 2014, 12:54
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 Posts_count  
Author Message
rcrsn51


Joined: 05 Sep 2006
Posts: 9255
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 10 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=10   # minutes from shutdown

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

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

Update: Batterup uses the battery's present rate of discharge to calculate the time remaining. But some batteries do not report this information. In that case, v1.4 displays the amount of charge remaining in mAh or mWh and triggers a warning message when the charge drops below the battery's design capacity warning level.

--------------------------------
batterup-1.4.pet
Description  Updated 2014-10-17
pet

 Download 
Filename  batterup-1.4.pet 
Filesize  4.76 KB 
Downloaded  30 Time(s) 
batterup-1.3.pet
Description  Updated 2014-06-30
pet

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

screenie.png


Edited_times_total
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8609

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: 9255
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: 8609

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: 516
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  151 Time(s) 

_________________
My blog


Back to top
View user's profile Send_private_message MSNM 
rcrsn51


Joined: 05 Sep 2006
Posts: 9255
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  156 Time(s) 
batterup_tray.c.tar.gz
Description 
gz

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

Edited_time_total
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9255
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: 9255
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 
rcrsn51


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

PostPosted: Fri 17 Oct 2014, 15:23    Post_subject:  

Batterup v1.4 is posted above. Please read the Update information. Additional test results would be appreciated.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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