請先看『使用說明』
Battery Monitor Utility under Linux
From LEXWiKi
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_Utility_L_v3.1.6.15_Bin
How to use Battery Monitor Utility
Step1. Download zip file and unzip.
Step2.Open the terminal and use 'sudo' permissions to Execute BMU program.
key in: ./Battery_Monitor_Utility
Step3.Open the BMU 'config' page. And keyin your linux account password. Click 'Apply' to ensure the setting take effect. Such as auto startup.
Step4.If you want delete utility. You must delete two folders.
One is /usr/AutostartBMU
The other one is /home/user/.config/autostart
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. Battery two simple information.
- 1-11. Warning led of Battery one. If battery status normal, led is green. If warning happened, led is red.
- 1-12.Battery Status for Charge or Discharge.
- 1-13.Battery Status for Remaining capacity percent.
- 1-14.Battery remaining life time.
- 1-15.Battery Temperature.
- 1-16.Battery Current.
- 1-17.Battery Voltage.
- 1-18.Press button to shut dowe battery.
- 1-19.PW601 name information.
- 1-20.Warning led of PW601 one. If battery status normal, led is green. If warning happened, led is red.
- 1-21.PW601 Status for Charge or Discharge.
- 1-22.PW601 Status for Remaining capacity percent.
- 1-23.PW601 Current.
- 1-24.PW601 Voltage.
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.