Battery monitor - Printable Version +- Tordex Community (http://forum.tordex.com) +-- Forum: True Launch Bar plugins (http://forum.tordex.com/forum-4.html) +--- Forum: Suggestions for new plugins (http://forum.tordex.com/forum-16.html) +--- Thread: Battery monitor (/thread-793.html) Pages:
1
2
|
- Dracula - 06-22-2003 Great for laptop users, and would look good next to the drive/net/mail monitor It would be nice to see the following information in it: - Using AC or battery (plugged or unplugged) - Current battery percentage Maybe even an option to auto-hide the plugin under certain conditions, but this could also be done with custom skins... - User - 07-15-2003 Yes, realy, how about power plug-in ??? - STi Sev - 11-15-2003 I would KILL for this. (Yuri? Have anyone you don't like. ) - Guest - 12-08-2003 I too think this would be a great addition... - Yuri Kobets - 12-09-2003 Please test this small program on your notebooks and give me results. It will be great if you give me results from other programs (that you are using now): percent, time etc. I do not have notebook so cannot test this myself - STi Sev - 12-09-2003 Yuri, (AC plugged in) Battery charger on AC power: YES Battery is present: YES Battery is charging: NO Battery is discharging: NO Battery maximum capacity: 43,902 mWh Battery estimated remaining capacity: 43,902 mWh Battery estimated rate of discharge: 0 mWh Battery estimated time remaining: 1193046:28:15 - Yuri Kobets - 12-10-2003 Please same thing but without AC ??? - cmishima - 12-10-2003 Battery charger on AC power: YES Battery is present: YES Battery is charging: NO Battery is discharging: YES Battery maximum capacity: 48,000.00 mWh Battery estimated remaining capacity: 48,000.00 mWh Battery estimated rate of discharge: -15,000.00 mWh Battery estimated time remaining: 1193046:28:15 Battery charger on AC power: NO Battery is present: YES Battery is charging: NO Battery is discharging: YES Battery maximum capacity: 48,000.00 mWh Battery estimated remaining capacity: 48,000.00 mWh Battery estimated rate of discharge: -15,000.00 mWh Battery estimated time remaining: 3:12:00 - Yuri Kobets - 12-10-2003 Thank you cmishima Please can you also take values when battery is some discharged? - cmishima - 12-10-2003 Yes I will discharge some this morning and post. - Doug Smith - 12-10-2003 After two hours on Battery Battery charger on AC power: NO Battery is present: YES Battery is charging: NO Battery is discharging: YES Battery maximum capacity: 48,000.00 mWh Battery estimated remaining capacity: 2,880.00 mWh Battery estimated rate of discharge: -15,000.00 mWh Battery estimated time remaining: 1193046:28:15 - Dracula - 12-10-2003 Hi, let me post the results on my laptop! Btw, I really wish there was some working Delphi Plugin SDK (or a description how to register plugins for TLB, so they will be recognized... I'd write this plugin or any other myself immediately!) System: No AC, battery discharging, 93%, 2:23 remaining Yuri's test program: Battery charger on AC power: NO Battery is present: YES Battery is charging: NO Battery is discharging: YES Battery maximum capacity: 41.515,00 mWh Battery estimated remaining capacity: 38.578,00 mWh Battery estimated rate of discharge: -16.092,00 mWh Battery estimated time remaining: 2:23:50 System: On AC, battery charging, 91% Yuri's test program: Battery charger on AC power: YES Battery is present: YES Battery is charging: YES Battery is discharging: NO Battery maximum capacity: 41.515,00 mWh Battery estimated remaining capacity: 37.660,00 mWh Battery estimated rate of discharge: 15.952,00 mWh Battery estimated time remaining: 1193046:28:15 System: On AC, battery removed Yuri's test program: Battery charger on AC power: YES Battery is present: NO Battery is charging: NO Battery is discharging: NO Battery maximum capacity: 0,00 mWh Battery estimated remaining capacity: 0,00 mWh Battery estimated rate of discharge: 0,00 mWh Battery estimated time remaining: 0: 0: 0 You can imagine why I haven't been able to test without both AC and battery As you see, you might want to ignore the time when the battery is recharging... The rest looks perfectly OK - Yuri Kobets - 12-10-2003 Dracula Thank you very much. This is exactly what I need! Quote:Btw, I really wish there was some working Delphi Plugin SDK (or a description how to register plugins for TLB, so they will be recognized... I'd write this plugin or any other myself immediately!As I already told I do not know Delphi - this is problem. But I can say how to register TLB plugins. This is simple on C++ : 1) Register plugin as COM object. To do this you need write in registry some values. Look on Code: HKEY_CLASSES_ROOT\CLSID\{FF9535D2-8A59-4372-8B54-A5C3C1AB9BA5} 2) You must use StdComponentCategoriesMgr to register plugin in the COM cathegory. Here is C++ code: [code] CATID CATID_TLBBUTTONS = { /* 49e86696-eaa6-45a2-9480-c78c013b9713 */ - PsychoMark - 12-11-2003 Thank you Yuri for the short explanation. There was already code in the C++ SDK, but converting that isn't easy if you don't know what it's supposed to do . I'll see if I can work on the Delphi SDK again some time, though I won't promise anything... if anyone else knows COM and Delphi, you can find my initial work somewhere on these forums... - Yuri Kobets - 12-13-2003 Please try this version of Battery Monitor There are no installation yet see readme.txt for instructions. |