Log file

Top  Previous  Next

The last 1000 samples are logged in memory by BatteryMon. Clicking on the view log button will create a log file on the disk and start up the default text file viewer to view the file (normally Notepad).

If the auto logging check box is checked, then this file will be updated in the background after each battery sampling. Auto logging can be used to ensure some record is kept during unattended testing or if the PC shuts down unexpectedly.

By default the log file is stored in  "My Documents\PassMark\BatteryMon" and named "battermonlog.txt". This can be changed in the configuration dialogue.  Each time the View log button is used this file will be overwritten with the current log information.

Seven pieces of general  information are stored for each sample recorded in the log file.

2001-06-24, 10:19:42, OK, 92%, 0.76, 2530, 13440, , , , , , , , , , , , , , , ,

2001-06-24, 10:19:52, The battery level has dropped below 92%. ,91%, 0.71, 2325, 13440, , , , , , , , , , , , , , , ,

2001-06-24, 10:20:02, OK, 91%, 0.74, 2426, 14000, , , , , , , , , , , , , , , ,

These are first seven pieces of information are,

Date: The date in YYY-MM-DD format

Time: The time the sample was taken. HH:MM:SS format

Notifications: In the configuration dialogue BatteryMon can be set to write notification to the log file when certain criteria are met. These notifications will be written here. If there are no notifications "OK" will be written out.

Percentage Charge: The battery charge as a % (0-100%).

Total Battery Life: Total battery life in hours. This is calculated by looking at the rate of discharge over a period of time and extrapolating the discharge rate to a value of 0% charge. It is this value that is represented on the graph by the blue line. When only a few samples have been made the extrapolation is not very accurate and the value can vary widely. Are more samples are made the value becomes more accurate.

Seconds of charge remaining. How many seconds of use are left before the computer runs out of power. This information is normally collected from the battery itself, but if the battery pack can’t supply this information it is estimated in the BatteryMon software. When only a few samples have been made the extrapolation is not very accurate and the value can vary widely. Are more samples are made the value becomes more accurate.

Charge Rate: The batteries charge rate, or if the numbers are negative, a discharge rate (Charge/Discharge Units)

The above values are aggregate across all batteries after these up to another four pieces of information for each battery present may be recorded. These values will only be recorded if the battery is capable of reporting them. Any information for batteries not present or that a particular battery does not report will be left blank in the log. In the above examples no specific battery information is available for any of the batteries. The pieces of information that may be logged are,

Temperature: The temperature of the battery in degrees celcius.

Voltage: The  voltage of the battery in volts.

Charge Rate: The charge rate of the battery, or if  negative, a discharge rate  (Charge/Discharge Units).

Percentage Charge: The battery charge as a % (0-100%).

These values are recorded in this order for each battery then followed by the same values for the next battery.