SDBatteryMonitor
By Sarah Dean
Last updated: 17th May 2009
Contents
Description
SDBatteryMonitor is a tool for monitoring the battery state on Windows Mobile PDAs, and logging this information to a file in order to allow subsequent analysis for performance checking and diagnostics.
The logfile is in standard CSV format, and contains the following fields:
- Date
- Time
- Date/time
- AC line status
- Main battery status
- Main battery percent (%)
- Main battery lifetime (mins)
- Main battery full lifetime (mins)
- Main battery Voltage (V)
- Backup battery status
- Backup battery percent (%)
- Backup battery lifetime (mins)
- Backup battery full lifetime (mins)
- Backup battery voltage (V)
- Current drain (mA)
- Average current drain (mA)
- Average current interval (seconds)
- Long term current drain (mA)
- Battery temperature (Celsius)
- Battery type
Please email any bug reports, feature requests, comments, etc to me
at sdean12@sdean12.org
The latest version can be found at: http://www.SDean12.org/
Download
Download the latest stable SDBatteryMonitor
package, including full source code.
Hashes and PGP signatures of the software, as downloaded, are available
here
Notes
-
Please, do read the documentation in this file before emailing
me! I know it's not much, and only really covers the basics, but...
-
To use SDBatteryMonitor:
- Copy the executable to your PDA
- Run SDBatteryMonitor.exe on your PDA
The time delay (in seconds) between checks on the battery's status may be adjusted via the control at the top. To start and stop logging to a file, tap the button at the bottom of the display.
-
The logfile is not opened, and held open, until the logging is manually stopped before the logfile is closed. Instead, the logfile is opened, written to, and closed after each periodic check carried out on the battery's state.
This allows SDBatteryMonitor to be safely run until the battery is drained and the PDA powers off automatically, without any risk of corrupting the logfile.
-
Clicking the "OK" button in the top right of the display while logging the battery's state to a file allows SDBatteryMonitor to continue logging while running in the background. This allows normal PDA operation while logging is in effect. Running SDBatteryMonitor.exe a second time will restore the dialog to the foreground.
-
The information logged by this application is as supplied by the OS
-
Pretty much everything in SDBatteryMonitor works as it seems, so I won't go
into too much detail as to how everything works. Besides, who reads manuals
anyway? ;) Anything you're not too sure of, just make an educated guess;
you'll probably be right!
License
This software is released under the same licence as the SDeanComponents Delphi components.
TODO List
Any suggestions?
Known Bugs
None known of at present
Appendix A: Version History
Email me at: sdean12@sdean12.org
Return to the main page