added example outputs for commands
This commit is contained in:
@@ -45,19 +45,90 @@ echo "battery.designedCapacity: ${BATTERY_DESIGNED_CAPACITY}" >> ${FILE_LOCATION
|
|||||||
echo "battery.wear: ${BATTERY_WEAR_PERCENT}" >> ${FILE_LOCATION}
|
echo "battery.wear: ${BATTERY_WEAR_PERCENT}" >> ${FILE_LOCATION}
|
||||||
echo "battery.current: ${BATTERY_CURRENT}" >> ${FILE_LOCATION}
|
echo "battery.current: ${BATTERY_CURRENT}" >> ${FILE_LOCATION}
|
||||||
|
|
||||||
|
:'
|
||||||
|
battery.charge: 79
|
||||||
|
ups.mfr: Dell
|
||||||
|
ups.model: Laptop Battery
|
||||||
|
ups.serial:
|
||||||
|
ups.status: LB
|
||||||
|
battery.runtime: 10009
|
||||||
|
battery.charge.low: 20
|
||||||
|
battery.charge.warning: 35
|
||||||
|
battery.voltage:
|
||||||
|
battery.capacity Battery capacity (Ah) 7.2
|
||||||
|
battery.current Battery current (A)
|
||||||
|
OL: On line (no power failure)
|
||||||
|
OB: On battery
|
||||||
|
LB: Low battery
|
||||||
|
SD: Shutdown load
|
||||||
|
|
||||||
#battery.charge: 79
|
APM on battery:
|
||||||
#ups.mfr: Dell
|
APM version: 1.2
|
||||||
#ups.model: Laptop Battery
|
APM Management: Disabled
|
||||||
#ups.serial:
|
AC Line status: off-line
|
||||||
#ups.status: LB
|
Battery Status: high
|
||||||
#battery.runtime: 10009
|
Remaining battery life: 71%
|
||||||
#battery.charge.low: 20
|
Remaining battery time: 4:52:00
|
||||||
#battery.charge.warning: 35
|
Number of batteries: 1
|
||||||
#battery.voltage:
|
Battery 0:
|
||||||
#battery.capacity Battery capacity (Ah) 7.2
|
Battery Status: high
|
||||||
#battery.current Battery current (A)
|
Remaining battery life: 71%
|
||||||
#OL: On line (no power failure)
|
Remaining battery time: 4:52:00
|
||||||
#OB: On battery
|
Resume timer: unknown
|
||||||
#LB: Low battery
|
Resume on ring indicator: disabled
|
||||||
#SD: Shutdown load
|
|
||||||
|
|
||||||
|
acpiconf -i batt# on battery:
|
||||||
|
Design capacity: 7894 mAh
|
||||||
|
Last full capacity: 6015 mAh
|
||||||
|
Technology: secondary (rechargeable)
|
||||||
|
Design voltage: 7600 mV
|
||||||
|
Capacity (warn): 789 mAh
|
||||||
|
Capacity (low): 239 mAh
|
||||||
|
Low/warn granularity: 78 mAh
|
||||||
|
Warn/full granularity: 78 mAh
|
||||||
|
Model number: DELL 2X39G74
|
||||||
|
Serial number: 3401
|
||||||
|
Type: LION
|
||||||
|
OEM info: LGC-LGC7.780
|
||||||
|
State: discharging
|
||||||
|
Remaining capacity: 71%
|
||||||
|
Remaining time: 4:50
|
||||||
|
Present rate: 885 mA (6835 mW)
|
||||||
|
Present voltage: 7724 mV
|
||||||
|
|
||||||
|
apm charging:
|
||||||
|
APM version: 1.2
|
||||||
|
APM Management: Disabled
|
||||||
|
AC Line status: on-line
|
||||||
|
Battery Status: charging
|
||||||
|
Remaining battery life: 71%
|
||||||
|
Remaining battery time: unknown
|
||||||
|
Number of batteries: 1
|
||||||
|
Battery 0:
|
||||||
|
Battery Status: charging
|
||||||
|
Remaining battery life: 71%
|
||||||
|
Remaining battery time: unknown
|
||||||
|
Resume timer: unknown
|
||||||
|
Resume on ring indicator: disabled
|
||||||
|
|
||||||
|
|
||||||
|
acpiconf -i batt# charging:
|
||||||
|
Design capacity: 7894 mAh
|
||||||
|
Last full capacity: 6015 mAh
|
||||||
|
Technology: secondary (rechargeable)
|
||||||
|
Design voltage: 7600 mV
|
||||||
|
Capacity (warn): 789 mAh
|
||||||
|
Capacity (low): 239 mAh
|
||||||
|
Low/warn granularity: 78 mAh
|
||||||
|
Warn/full granularity: 78 mAh
|
||||||
|
Model number: DELL 2X39G74
|
||||||
|
Serial number: 3401
|
||||||
|
Type: LION
|
||||||
|
OEM info: LGC-LGC7.780
|
||||||
|
State: charging
|
||||||
|
Remaining capacity: 71%
|
||||||
|
Remaining time: unknown
|
||||||
|
Present rate: 1 mA (7 mW)
|
||||||
|
Present voltage: 7821 mV
|
||||||
|
'
|
||||||
Reference in New Issue
Block a user