diff --git a/pfsenseDellBatteryNUT.sh b/pfsenseDellBatteryNUT.sh index a0d07f4..037e13d 100644 --- a/pfsenseDellBatteryNUT.sh +++ b/pfsenseDellBatteryNUT.sh @@ -43,92 +43,4 @@ echo "battery.voltage: ${UPS_VOLTAGE}" >> ${FILE_LOCATION} echo "battery.capacity: ${BATTERY_LAST_FULL_CAPACITY}" >> ${FILE_LOCATION} echo "battery.designedCapacity: ${BATTERY_DESIGNED_CAPACITY}" >> ${FILE_LOCATION} echo "battery.wear: ${BATTERY_WEAR_PERCENT}" >> ${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 - -APM on battery: -APM version: 1.2 -APM Management: Disabled -AC Line status: off-line -Battery Status: high -Remaining battery life: 71% -Remaining battery time: 4:52:00 -Number of batteries: 1 -Battery 0: - Battery Status: high - Remaining battery life: 71% - Remaining battery time: 4:52:00 -Resume timer: unknown -Resume on ring indicator: disabled - - -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 -' \ No newline at end of file +echo "battery.current: ${BATTERY_CURRENT}" >> ${FILE_LOCATION} \ No newline at end of file