LAVA Computer MFG Inc. eSynC Product Family - Reference Manual – C03
2 Vulcan St. Toronto, ON
Tel: +1 416 674-5942
www.lavalink.com
Canada, M9W 1L2
Toll Free (US & Canada): 800 241-5282
31 of 36
Diagnostic Log File
The LTM application has the option to write the battery status to a diagnostic log file.
The file format is UTF-8 (simple ASCII). The file can be read on a PC using any text editor.
The log file is located in the “Internal Storage\Android\data\com.lava.tabletmanager7\files\”
folder. The log file name is LTM_***_LOG.txt. The *** portion of the file is the device serial
number.
The “log-file-rate” defines the number of minutes between updates of the diagnostic log file. The
permitted range is 0 to 1440, with a default of 0. A value of 0 results in updates only for changes
in charge direction.
The “log-file-limit” defines the maximum size of the diagnostic log file in units of 1000000
characters. The permitted range is 0 to 100, with a default of 0. A 0 disables the log file.
The log file can be erased at any time. The LTM application always appends new information.
When the log file is created, the current configuration settings from the configuration file are
written to a header in the file. Subsequent changes to the configuration file are not written until a
new log file has to be created.
Each line of data contains 16 fields. A comma separates each field of data. The first line after the
header contains a short “title” for each field, which is useful for some graphing applications.
Diagnostic Log File – Field Descriptions
Field
Title
Description
1
ID
The ID field contains an ‘L’ followed by an integer indicating the log source.
Value
Description
L1
Periodic log entry as selected by "log-file-rate"
L2
Charging state change
L4
LTM application has started (or possible re-started)
L8
Hardware reset requested. The action was determined
by the "hardware-reset-action" command.
2
DT
Timestamp as the number of seconds since midnight January 1, 1970, UTC.
3
UT
Device up time in seconds.
4
AC
The Activity Count is a counter that advances each time the LTM application
runs. The value is reported as “PASS #” when the “user-debug” level is set.
5
BCI
The Battery Charge Index is an internal counter used to keep track of the
charging state of the battery.
6
BL
The Battery Level is the battery charge level as a percentage.
7
HLTH
The Android Health parameter is reported here.
8
BI
The Battery Current is reported in units of mill-amperes.
9
BV
The Battery Voltage is reported in units of millivolts.
10
BT
The Battery Temperature is reported in degrees Celsius * 10.
11
NR
The Network Reset Count is the number of times a reset of the Ethernet
interface was requested since the last log entry.
12
BN
The Brightness Number ranges from 0 to 2.
A value of 2 indicates the “daytime” brightness is active.
A value of 1 indicates the “nighttime” brightness is active.
A 0 indicates the LTM application is not controlling the device screen
brightness.