請先看『使用說明』
PW016 Battery Monitor Utility under Linux
From LEXWiKi
(New page: Category:AllowPages == The Sample code source and Spec File you can download from == Source file(Old): [ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/PW016_Utility/Linux/PW016_sr...) |
|||
(18 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
[[Category:AllowPages]] | [[Category:AllowPages]] | ||
- | == The Sample code source and Spec File you can download from == | ||
- | Source file(Old): [ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/PW016_Utility/Linux/PW016_src_L.tar.gz PW016 Source Code]<br /> | ||
- | + | <!-- If you want to read the introduction of Chinese version, please click the below link:<br /> | |
- | + | [[Battery Monitor Utility for bq2084 under Windows 简体中文版 | Battery Monitor Utility for bq2084 简体中文版]]<br /> | |
- | + | <br /> --> | |
- | + | == Introduction == | |
- | + | Battery Monitor Utility is battery monitor software for retrieving & auto-saving the battery information. <br /> | |
- | + | It could also protect the battery from overheating by the preset threshold value.<br /> | |
- | + | == The Sample code source and Spec File you can download from == | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | Binary file: | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | Binary file | + | |
- | + | <Google Drive> [https://drive.google.com/file/d/1i-FA7k_tMG_W-fi7PvKS8_1M2SBaLy4D/view?usp=sharing Battery_Monitor_Utilityv3.0.2.5L_Bin] | |
- | + | <FTP> [ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/PW016_Utility/Linux/Battery_Monitor_Utilityv3.0.2.5L_bin.zip Battery_Monitor_Utilityv3.0.2.5L_Bin] | |
- | + | == How to use Battery Monitor Utility == | |
- | + | Open the terminal and execute Battery_Monitor_Utility | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | === | + | === Battery Monitor Utility main page === |
- | [[Image: | + | [[Image:BatteryL_picture1.jpg]]<br /><br /> |
- | ''' | + | '''When start utility, it will show simple information about all batteries on the main page.'''<br /> |
- | + | '''If you want to watch detail message about individual battery, you can press the buttons on the left panel.'''<br /> | |
- | + | ||
- | + | ||
<br /> | <br /> | ||
- | + | '''About page items detail is below.'''<br /> | |
- | * | + | *1-1. Press button to show simple information about all batteries.<br /> |
- | * | + | *1-2. Press button to show detail information about battery one.<br /> |
- | * | + | *1-3. Press button to show detail information about battery two.<br /> |
- | <br /> | + | *1-4. Press button to show configuration page.<br /> |
- | + | *1-5. External power voltage. Support PW407 only.<br /> | |
- | * | + | *1-6. Count of all battery device on the motherboard.<br /> |
- | * | + | *1-7. Battery Monitor Utility software version.<br /> |
- | * | + | *1-8. PW407 firmware version.<br /> |
- | * | + | *1-9. Battery two simple information.<br /> |
- | * | + | *1-10. Warning led of Battery one. If battery status normal, led is green. If warning happened, led is red.<br /> |
- | <br /> | + | [[Image:BatteryL_picture2.jpg]]<br /> |
- | + | *1-11.Battery Status for Charge or Discharge.<br /> | |
- | + | *1-12.Battery Status for Remaining capacity percent.<br /> | |
- | + | *1-13.Battery remaining life time.<br /> | |
+ | *1-14.Battery Temperature.<br /> | ||
+ | *1-15.Battery Current.<br /> | ||
+ | *1-16.Battery Voltage.<br /> | ||
+ | *1-17.Press button to shut dowe battery.<br /> | ||
+ | *1-18.Battery one simple information.<br /> | ||
- | <br /> | + | === Detail information about individual battery === |
+ | [[Image:BatteryL_picture3.jpg]]<br /><br /> | ||
+ | '''Press the "Battery 1" or "Battery 2" Button. Show battery information and detail about warn status.'''<br /> | ||
+ | *2-1.Detail about warn status. If features is not active, led is 'grey'. If warn status is normal, led is 'green'. Otherwise is 'red'.<br /> | ||
+ | *2-2.Status: Over temperature. If temperature of battery is under 'Over temperature threshold', led is 'green'. Otherwise is 'red'.<br /> | ||
+ | *2-3.Status: Under temperature. If temperature of battery is higher 'Under temperature threshold', led is 'green'. Otherwise is 'red'.<br /> | ||
+ | *2-4.Status: Low battery capacity. If capacity of battery is higher 'Low battery capacity threshold', led is 'green'. Otherwise is 'red'.<br /> | ||
+ | *2-5.Status: External power removed. If external power removed from device, led is 'red'. Otherwise is 'green'.<br /> | ||
- | === | + | === Battery Monitor Utility Configuration === |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | '''You can set temperature and battery capacity warn threshold in this page.'''<br /> | |
- | ''' | + | |
- | + | ==== Settings of General ==== | |
- | + | [[Image:BatteryL_picture4.jpg]]<br /> | |
- | + | ||
- | <br /> | + | *3-1.Operating battery monitor utility automatically when the device booting.<br /> |
- | + | *3-2.The utility will be minimized when it start up.<br /> | |
- | + | *3-3.[For OEM]Send reports regularly using E-Mail when warn status is happened.<br /> | |
- | + | *3-4.[For OEM]Send reports regularly using SMS when warn status is happened.<br /> | |
- | + | *3-5.[For OEM]After the operation system is shut down, the battery enters the shutdown mode. (PW407 Only)<br /> | |
- | + | *3-6.The operation system automatically turns on after plugging in the external power. (PW407 Only)<br /> | |
- | <br /> | + | *3-7.When the system is not properly powered off,automatically power on the next power recovery. (PW407 Only)<br /> |
- | + | *3-8.[For OEM]Use LED lights on the PW407 display status. (PW407 Only)<br /> | |
- | + | *3-9.[For OEM]30 seconds after the operation system is turned off, the MCU goes to sleep. (PW407 Only)<br /> | |
- | + | *3-10.30 LINUX user password for automatically when the device booting.<br /> | |
- | + | *3-11.Press the button. The settings restore to the last applied value. | |
- | <br /> | + | *3-12.Press the button. Apply the settings to the utility. |
- | + | ||
- | + | ==== Settings of Low Battery Alert ==== | |
- | + | [[Image:BatteryL_picture5.jpg]]<br /> | |
- | + | ||
- | <br /> | + | *4-1.Enable utility alert when low battery happened.<br /> |
- | + | *4-2.Set low battery capacity threshold.<br /> | |
- | + | *4-3.[For OEM]Enable alert tone when low battery happened. (PW407 Only)<br /> | |
- | + | *4-4.[For OEM]Set the alert tone interval when low battery happened. (PW407 Only)<br /> | |
- | + | *4-5.Operation system automatically shut down when battery is under battery capacity threshold.<br /> | |
- | <br /> | + | *4-6.Set waiting how long to shut down operation system after detecting under battery capacity threshold.<br /> |
- | + | *4-7.[For OEM]Enable sending E-mail when low battery happened.<br /> | |
- | < | + | *4-8.[For OEM]Enable sending SMS when low battery happened.<br /> |
- | + | ||
- | + | ==== Settings of External power Alert ==== | |
- | + | [[Image:BatteryL_picture6.jpg]]<br /> | |
- | + | ||
- | + | *5-1.Enable utility alert when external power removed.<br /> | |
- | + | *5-2.[For OEM]Enable alert tone when external power removed happened. (PW407 Only)<br /> | |
- | + | *5-3.[For OEM]Set the alert tone interval when external power removed happened. (PW407 Only)<br /> | |
- | + | *5-4.Operation system automatically shut down when external power removed happened.<br /> | |
- | + | *5-5.Set waiting how long to shut down operation system after detecting external power removed happened.<br /> | |
- | + | *5-6.[For OEM]Enable sending E-mail when external power removed happened.<br /> | |
- | + | *5-7.[For OEM]Enable sending SMS when external power removed happened.<br /> | |
- | + | ||
- | + | ==== Settings of Over Temperature Alert ==== | |
- | + | [[Image:BatteryL_picture7.jpg]]<br /> | |
- | + | ||
- | + | *6-1.Enable utility alert when battery temperature is higher than over temperature threshold.<br /> | |
- | + | *6-2.Set over temperature threshold.<br /> | |
- | + | *6-3.[For OEM]Enable alert tone when higher temperature threshold happened. (PW407 Only)<br /> | |
- | + | *6-4.[For OEM]Set the alert tone interval when higher temperature threshold happened. (PW407 Only)<br /> | |
- | + | *6-5.[For OEM]Enable sending E-mail when higher temperature threshold happened.<br /> | |
- | + | *6-6.[For OEM]Enable sending SMS when higher temperature threshold happened.<br /> | |
- | + | ||
- | + | ==== Settings of Under Temperature Alert ==== | |
- | + | [[Image:BatteryL_picture8.jpg]]<br /> | |
- | + | ||
- | + | *7-1.Enable utility alert when battery temperature is lower than under temperature threshold.<br /> | |
- | + | *7-2.Set under temperature threshold.<br /> | |
- | + | *7-3.[For OEM]Enable alert tone when lower temperature threshold happened. (PW407 Only)<br /> | |
- | + | *7-4.[For OEM]Set the alert tone interval when lower temperature threshold happened. (PW407 Only)<br /> | |
- | + | *7-5.[For OEM]Enable sending E-mail when lower temperature threshold happened.<br /> | |
- | + | *7-6.[For OEM]Enable sending SMS when lower temperature threshold happened.<br /> | |
- | + | ||
- | + | ==== E-mail & SMS ==== | |
- | + | ||
- | + | *8&9.[For OEM]Enable sending E-mail & SMS when lower temperature threshold happened.<br /> | |
- | + | ||
- | + | ==== Settings of System ==== | |
- | + | [[Image:BatteryL_picture9.jpg]]<br /> | |
- | + | ||
- | + | *10-1.Set Battery Monitor Utility language. Now support English and Traditional Chinese. Default language depends on your location.(Only English version at the moment)<br /> | |
- | + | *10-2.Restore all settings of utility and PW407.<br /> | |
- | + | ||
- | + | === Battery Status log === | |
- | + | [[Image:BatteryL_picture12.jpg]]<br /> | |
- | + | ||
- | + | '''When utility start and battery is exist, Battery status log will be record automatically in 'Log' folder. If event does not happen, utility record battery status every 60 seconds. Otherwise, utility record battery status every 1 second. '''<br /> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | </ | + |
Current revision
Contents |
Introduction
Battery Monitor Utility is battery monitor software for retrieving & auto-saving the battery information.
It could also protect the battery from overheating by the preset threshold value.
The Sample code source and Spec File you can download from
Binary file:
<Google Drive> Battery_Monitor_Utilityv3.0.2.5L_Bin
<FTP> Battery_Monitor_Utilityv3.0.2.5L_Bin
How to use Battery Monitor Utility
Open the terminal and execute Battery_Monitor_Utility
Battery Monitor Utility main page
When start utility, it will show simple information about all batteries on the main page.
If you want to watch detail message about individual battery, you can press the buttons on the left panel.
About page items detail is below.
- 1-1. Press button to show simple information about all batteries.
- 1-2. Press button to show detail information about battery one.
- 1-3. Press button to show detail information about battery two.
- 1-4. Press button to show configuration page.
- 1-5. External power voltage. Support PW407 only.
- 1-6. Count of all battery device on the motherboard.
- 1-7. Battery Monitor Utility software version.
- 1-8. PW407 firmware version.
- 1-9. Battery two simple information.
- 1-10. Warning led of Battery one. If battery status normal, led is green. If warning happened, led is red.
- 1-11.Battery Status for Charge or Discharge.
- 1-12.Battery Status for Remaining capacity percent.
- 1-13.Battery remaining life time.
- 1-14.Battery Temperature.
- 1-15.Battery Current.
- 1-16.Battery Voltage.
- 1-17.Press button to shut dowe battery.
- 1-18.Battery one simple information.
Detail information about individual battery
Press the "Battery 1" or "Battery 2" Button. Show battery information and detail about warn status.
- 2-1.Detail about warn status. If features is not active, led is 'grey'. If warn status is normal, led is 'green'. Otherwise is 'red'.
- 2-2.Status: Over temperature. If temperature of battery is under 'Over temperature threshold', led is 'green'. Otherwise is 'red'.
- 2-3.Status: Under temperature. If temperature of battery is higher 'Under temperature threshold', led is 'green'. Otherwise is 'red'.
- 2-4.Status: Low battery capacity. If capacity of battery is higher 'Low battery capacity threshold', led is 'green'. Otherwise is 'red'.
- 2-5.Status: External power removed. If external power removed from device, led is 'red'. Otherwise is 'green'.
Battery Monitor Utility Configuration
You can set temperature and battery capacity warn threshold in this page.
Settings of General
- 3-1.Operating battery monitor utility automatically when the device booting.
- 3-2.The utility will be minimized when it start up.
- 3-3.[For OEM]Send reports regularly using E-Mail when warn status is happened.
- 3-4.[For OEM]Send reports regularly using SMS when warn status is happened.
- 3-5.[For OEM]After the operation system is shut down, the battery enters the shutdown mode. (PW407 Only)
- 3-6.The operation system automatically turns on after plugging in the external power. (PW407 Only)
- 3-7.When the system is not properly powered off,automatically power on the next power recovery. (PW407 Only)
- 3-8.[For OEM]Use LED lights on the PW407 display status. (PW407 Only)
- 3-9.[For OEM]30 seconds after the operation system is turned off, the MCU goes to sleep. (PW407 Only)
- 3-10.30 LINUX user password for automatically when the device booting.
- 3-11.Press the button. The settings restore to the last applied value.
- 3-12.Press the button. Apply the settings to the utility.
Settings of Low Battery Alert
- 4-1.Enable utility alert when low battery happened.
- 4-2.Set low battery capacity threshold.
- 4-3.[For OEM]Enable alert tone when low battery happened. (PW407 Only)
- 4-4.[For OEM]Set the alert tone interval when low battery happened. (PW407 Only)
- 4-5.Operation system automatically shut down when battery is under battery capacity threshold.
- 4-6.Set waiting how long to shut down operation system after detecting under battery capacity threshold.
- 4-7.[For OEM]Enable sending E-mail when low battery happened.
- 4-8.[For OEM]Enable sending SMS when low battery happened.
Settings of External power Alert
- 5-1.Enable utility alert when external power removed.
- 5-2.[For OEM]Enable alert tone when external power removed happened. (PW407 Only)
- 5-3.[For OEM]Set the alert tone interval when external power removed happened. (PW407 Only)
- 5-4.Operation system automatically shut down when external power removed happened.
- 5-5.Set waiting how long to shut down operation system after detecting external power removed happened.
- 5-6.[For OEM]Enable sending E-mail when external power removed happened.
- 5-7.[For OEM]Enable sending SMS when external power removed happened.
Settings of Over Temperature Alert
- 6-1.Enable utility alert when battery temperature is higher than over temperature threshold.
- 6-2.Set over temperature threshold.
- 6-3.[For OEM]Enable alert tone when higher temperature threshold happened. (PW407 Only)
- 6-4.[For OEM]Set the alert tone interval when higher temperature threshold happened. (PW407 Only)
- 6-5.[For OEM]Enable sending E-mail when higher temperature threshold happened.
- 6-6.[For OEM]Enable sending SMS when higher temperature threshold happened.
Settings of Under Temperature Alert
- 7-1.Enable utility alert when battery temperature is lower than under temperature threshold.
- 7-2.Set under temperature threshold.
- 7-3.[For OEM]Enable alert tone when lower temperature threshold happened. (PW407 Only)
- 7-4.[For OEM]Set the alert tone interval when lower temperature threshold happened. (PW407 Only)
- 7-5.[For OEM]Enable sending E-mail when lower temperature threshold happened.
- 7-6.[For OEM]Enable sending SMS when lower temperature threshold happened.
E-mail & SMS
- 8&9.[For OEM]Enable sending E-mail & SMS when lower temperature threshold happened.
Settings of System
- 10-1.Set Battery Monitor Utility language. Now support English and Traditional Chinese. Default language depends on your location.(Only English version at the moment)
- 10-2.Restore all settings of utility and PW407.
Battery Status log
When utility start and battery is exist, Battery status log will be record automatically in 'Log' folder. If event does not happen, utility record battery status every 60 seconds. Otherwise, utility record battery status every 1 second.