Jump to content

Making a battery meter


 Share

Recommended Posts

I have a little netbook and the default battery meter only shows up the percentage i have left (no time remaining):(

Ive done the gui part of the app but need to ask:

How could i get the amount of seconds between the battery going down 1%, so sort of like this:

start a timer when the  battery percentage is (say 74%)
then stop the timer when  the battery is at 73%
then multiply how many seconds that took by how much percent the battery has left

so 123 seconds multiplied by 73 = 8979 seconds left till the battery is dead

if you dont understand what im trying to do ill try to reword it :graduated:

Thanks For any help in advance

(many other users of the same netbook have the same problems as me Posted Image)

Edited by SparkSoft

[center]First Ever Script/App[/center][center]Simple Battery Meter[/center]

Link to comment
Share on other sites

Thank you very much

Its a bit difficult for me but thats exactly what i meant, I knew someone had done it before but i just didnt know who

thanks again

Oh and it looks like i wont be making a battery meter anymore as yours is perfect

:graduated:

I'm Confused ! Posted Image

Thanks a lot !

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...