Jump to content

Recommended Posts

Guest londonlad
Posted

how do i go about making a battery plugin for a homescreen that shows the battery left in percentage?

how do you access battery level data?

Guest ferret
Posted

There a plugin out already called Smart Batt (see here )

I've never used it so no feedback here, but if you develop a freeware one, let me know :wink:

Guest londonlad
Posted

yeah i know that one, but i dont like it much, all i want is a percentage that i can add to a homescreen, no bars, no temperature no etc

Guest londonlad
Posted

:D

thank you mate! now i can have a quick glance at the screen and voila!

battery percentage!

now how to use this on my own homescreen?

;) :lol: :P

Guest thedeva
Posted

No worries.

Yeah, I cant get it to work on my homescreen but I haven't given up. Let me know how u go as I'm strugglin a bit.

Deva

Guest londonlad
Posted

you cant get the lcd plugin working on a ready made homescreen or the how to code it into your own homescreen?

Guest Richie M
Posted

same as any other plug-in you add the relevant code to your home xml.

Its a long time since i looked at or used the lcd plug-in but there used to be an example that came with it which you can look at and work out which code you need :D

Guest londonlad
Posted

the thing is that the lcd plugin shows the battery percentage in lcd (dots) rather than using numbers. i've got it working as a lcd display but i want it in numbers

Guest Richie M
Posted

:D thats why its called LCD Plugin :roll:

if you want to do it another way, you would have to write your own plugin i'm afraid :|

Guest londonlad
Posted

but the plugin has to get the percentage and then turn it into lcd, so im just looking to get the percentage, but my lcd plugin file is empty. where are the plugin files stored?

Guest Richie M
Posted

Not quite sure what you mean dude :?

Plugins are .dll's, if i rember correctly the LCD one uses an .ini file for formating (i havent looked at it for about a year tho :D)

As for turning it from a percentage to LCD format that will be done internally in the .dll's code, its just the way it works!

Guest MPXtricky
Posted

...I read somewhere that the LCD plugin is a battery killer

so although you will have a nice display of remaining battery life,

your battery will need charging more often. This is because all

software that shows the charge of a battery *drains* some of that

same battery when obtaining the results.

Guest nedge2k
Posted

Is there a was to pull apart the dll and have a look at the code?

Guest MPXtricky
Posted
Is there a was to pull apart the dll and have a look at the code?
... if it was an executable then yes, technically, you could 'dis-assemble' the .EXE

I'm not sure about DLL's... never even thought about taking them apart.

Maybe this is a daft question but if you have a freely available DLL that

does what you want, why take it apart anyway?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.