Welcome Guest.   Make a donation to an author on the site October 22, 2014, 08:36:19 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Read the full one-year retrospective report on DonationCoder.com.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: DONE: Warning that I'm on Battery power  (Read 15437 times)
dbarton
Supporting Member
**
Posts: 51

View Profile Give some DonationCredits to this forum member
« on: October 19, 2009, 01:57:18 AM »


I was doing a presentation on Sat, and I guess my power cord wasn't plugged in all the way, so I was on battery power. Died halfway thru the presentation in front of 1000 people, and went in hiberation. Bad!!

I use the laptop for audio so they don't see the screen.

I want a small flashing box on my screen every time I'm on battery power so this never happens again.
Anyone seen such a tiny program?
Logged
app103
That scary taskbar girl
Global Moderator
*****
Posts: 5,269



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: October 19, 2009, 10:06:40 AM »

My daughter uses Yahoo Widgets on her laptop. They have a ton of battery related stuff.

http://widgets.yahoo.com/search/?q=battery

It's pretty much a matter of taste as to which you choose. Some have audio alerts when remaining power goes under a certain threshold, others will popup to topmost level on your screen.
Logged

scancode
Honorary Member
**
Posts: 636



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #2 on: October 19, 2009, 12:12:53 PM »


I was doing a presentation on Sat, and I guess my power cord wasn't plugged in all the way, so I was on battery power. Died halfway thru the presentation in front of 1000 people, and went in hiberation. Bad!!

I use the laptop for audio so they don't see the screen.

I want a small flashing box on my screen every time I'm on battery power so this never happens again.
Anyone seen such a tiny program?




BatteryStatus.exe (101.5 KB - downloaded 70 times.)
BatteryStatus 1.1.exe (144.5 KB - downloaded 34 times.)
* BatteryStatus 1.1.1.exe (144.5 KB - downloaded 599 times.)


Nag me if you'd like any changes.

V1.1 - Added a small mode, and settings dialog. You can now choose display position and size.
Changed to a more restrictive license as per mrmandala's request.
V1.1.1 - Fixed a bug with docked toolbars. Thx lanux128 for the report.
« Last Edit: November 05, 2009, 07:01:07 PM by scancode » Logged

dbarton
Supporting Member
**
Posts: 51

View Profile Give some DonationCredits to this forum member
« Reply #3 on: October 19, 2009, 03:00:12 PM »

Excellent.

Ideally I'd like to be able to resize the screen size just a bit.
Sometime just one line high is enough to just see the status.

Maybe right click for a selection of sizes? (command line parameter would be ok)
Can it (maybe by command line switch switch) default to top right?
Can we change poll rate?

Do you offer ahk source?

Still, very usable as is, so very much appreciated.


« Last Edit: October 19, 2009, 04:17:22 PM by dbarton » Logged
lanux128
Global Moderator
*****
Posts: 6,109



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: October 19, 2009, 09:14:15 PM »

+1 for resizable window, will help us netbook users.. smiley
Logged

scancode
Honorary Member
**
Posts: 636



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #5 on: October 20, 2009, 01:22:41 AM »

Excellent.
Thanks.

Ideally I'd like to be able to resize the screen size just a bit.
Sometime just one line high is enough to just see the status.
Maybe right click for a selection of sizes? (command line parameter would be ok)
Can it (maybe by command line switch switch) default to top right?
Can we change poll rate?
Will do

Do you offer ahk source?
Nope, mainly because this is written in VB not AHK  Wink

Let me see what I can come up with...
Logged

mrmandala
Supporting Member
**
Posts: 4

View Profile Give some DonationCredits to this forum member
« Reply #6 on: October 26, 2009, 06:37:38 AM »

This is very handy, any chance of a censored version of the About text? I'm sure someone would take offence! Cheers
Logged
scancode
Honorary Member
**
Posts: 636



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #7 on: October 26, 2009, 11:30:03 AM »

This is very handy, any chance of a censored version of the About text? I'm sure someone would take offence! Cheers

Quote from: the WTFPL license FAQ
Can’t you change the wording? It’s inappropriate / childish / not corporate-compliant.

What the fuck is not clear in “DO WHAT THE FUCK YOU WANT TO”? If you do not like the license terms, just relicense the work under another license.

Back to seriousness, do you know any other license that allows as much freedom as the WTFPL without forcing me to release sourcecode?
Logged

scancode
Honorary Member
**
Posts: 636



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #8 on: October 26, 2009, 02:28:19 PM »

V 1.1 is out. Added some customization options.
Also moved from the WTFPL to a more 'family friendly' license.

Quote
This program is catware/donationware.  If you find it useful in any way, pay for this program by spending one hour petting one or several cats. A donation to the author would be nice, but is not required.
Logged

mouser
First Author
Administrator
*****
Posts: 33,578



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #9 on: October 26, 2009, 05:16:03 PM »

Quote
pay for this program by spending one hour petting one or several cats.

 Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Thmbsup
Logged
lanux128
Global Moderator
*****
Posts: 6,109



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #10 on: October 26, 2009, 09:48:57 PM »

the program appears behind the taskbar, can it be made to appear above the taskbar? my desktop has an LBC dock on top and the taskbar at the bottom.

Logged

scancode
Honorary Member
**
Posts: 636



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #11 on: October 26, 2009, 10:03:15 PM »

the program appears behind the taskbar, can it be made to appear above the taskbar? my desktop has an LBC dock on top and the taskbar at the bottom.
 (see attachment in previous post)

Uploaded fixed version. Thanks for the report.
Logged

dbarton
Supporting Member
**
Posts: 51

View Profile Give some DonationCredits to this forum member
« Reply #12 on: October 26, 2009, 10:48:48 PM »

This version is very nice!
Thanks.

How are you saving the choice of where the window goes?
Registry?
Logged
scancode
Honorary Member
**
Posts: 636



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #13 on: October 26, 2009, 10:53:31 PM »

This version is very nice!
Thanks.

How are you saving the choice of where the window goes?
Registry?

Yup. HKCU\Software\VB and VBA Program Settings\BatteryStatus\Config
Logged

lanux128
Global Moderator
*****
Posts: 6,109



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #14 on: October 26, 2009, 11:22:20 PM »

Uploaded fixed version. Thanks for the report.

thanks, it works well now. thumbs up
Logged

mouser
First Author
Administrator
*****
Posts: 33,578



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #15 on: October 26, 2009, 11:32:45 PM »

let's not forget to send some donationcredits to the authors of coding snacks to say thank you!
Logged
mrmandala
Supporting Member
**
Posts: 4

View Profile Give some DonationCredits to this forum member
« Reply #16 on: October 27, 2009, 09:40:33 AM »

Nice, and thanks.
Logged
SleepingWolf
Supporting Member
**
Posts: 104


see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #17 on: October 29, 2009, 05:41:41 PM »

Quote
pay for this program by spending one hour petting one or several cats.

 Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Thmbsup

Well, Mouser would like that, but I'd rather chase 'em.
Logged

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

Choose life -or at least respect it.
jdd
Charter Member
***
Posts: 214


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #18 on: February 23, 2010, 08:14:15 PM »

scancode

Can you provide the option to have the warning appear:

1. only on battery, or
2. only on AC, or
3. both
Logged
scancode
Honorary Member
**
Posts: 636



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #19 on: February 23, 2010, 09:08:44 PM »

scancode

Can you provide the option to have the warning appear:

1. only on battery, or
2. only on AC, or
3. both


I don't currently have a laptop running windows, so this was done blindly...

http://dl.dropbox.com/u/4...atteryStatus%201.1.2b.exe

Please report back with your results.
Logged

Deozaan
Charter Member
***
Posts: 6,418



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #20 on: February 23, 2010, 09:51:45 PM »

Quote
pay for this program by spending one hour petting one or several cats.

 Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Thmbsup

Sad I'm allergic to cats. Now I can't use this software. Wink
Logged

scancode
Honorary Member
**
Posts: 636



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #21 on: February 23, 2010, 09:56:58 PM »

Quote
pay for this program by spending one hour petting one or several cats.

 Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Thmbsup

Sad I'm allergic to cats. Now I can't use this software. Wink


At your option, you can abide to the terms of the WTFPL
Logged

jdd
Charter Member
***
Posts: 214


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #22 on: February 24, 2010, 07:09:10 AM »

Quote
don't currently have a laptop running windows, so this was done blindly...

http://dl.dropbox.com/u/4...atteryStatus%201.1.2b.exe

Please report back with your results.

The bottons show up on the config screen but they do not function.
Logged
scancode
Honorary Member
**
Posts: 636



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #23 on: February 24, 2010, 10:05:51 AM »

Okay, I'm gonna install Windows on my laptop (argh) and I'll get back to you ASAP
Logged

Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.055s | Server load: 0.02 ]