initial commit of file from CVS for smeserver-phpsysinfo on Sat Sep 7 20:53:46 AEST 2024
This commit is contained in:
4
root/opt/phpsysinfo/sample/plugin_bat/README
Normal file
4
root/opt/phpsysinfo/sample/plugin_bat/README
Normal file
@@ -0,0 +1,4 @@
|
||||
FILE CONTENT OF
|
||||
ac_state cat /proc/acpi/ac_adapter/AC/state
|
||||
battery_info cat /proc/acpi/battery/BAT0/info
|
||||
battery_state cat /proc/acpi/battery/BAT0/state
|
1
root/opt/phpsysinfo/sample/plugin_bat/ac_state1.txt
Normal file
1
root/opt/phpsysinfo/sample/plugin_bat/ac_state1.txt
Normal file
@@ -0,0 +1 @@
|
||||
state: on-line
|
13
root/opt/phpsysinfo/sample/plugin_bat/battery_info1.txt
Normal file
13
root/opt/phpsysinfo/sample/plugin_bat/battery_info1.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
present: yes
|
||||
design capacity: 50000 mWh
|
||||
last full capacity: 50000 mWh
|
||||
battery technology: rechargeable
|
||||
design voltage: 10000 mV
|
||||
design capacity warning: 100 mWh
|
||||
design capacity low: 50 mWh
|
||||
capacity granularity 1: 1 mWh
|
||||
capacity granularity 2: 1 mWh
|
||||
model number: 1
|
||||
serial number: 0
|
||||
battery type: VBOX
|
||||
OEM info: innotek
|
6
root/opt/phpsysinfo/sample/plugin_bat/battery_state1.txt
Normal file
6
root/opt/phpsysinfo/sample/plugin_bat/battery_state1.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
present: yes
|
||||
capacity state: ok
|
||||
charging state: charged
|
||||
present rate: 0 mW
|
||||
remaining capacity: 50000 mWh
|
||||
present voltage: 10000 mV
|
31
root/opt/phpsysinfo/sample/plugin_bat/log_LenovoT530.txt
Normal file
31
root/opt/phpsysinfo/sample/plugin_bat/log_LenovoT530.txt
Normal file
@@ -0,0 +1,31 @@
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/BAT0/uevent
|
||||
POWER_SUPPLY_NAME=BAT0
|
||||
POWER_SUPPLY_STATUS=Unknown
|
||||
POWER_SUPPLY_PRESENT=1
|
||||
POWER_SUPPLY_TECHNOLOGY=Li-ion
|
||||
POWER_SUPPLY_CYCLE_COUNT=0
|
||||
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=10800000
|
||||
POWER_SUPPLY_VOLTAGE_NOW=12365000
|
||||
POWER_SUPPLY_POWER_NOW=0
|
||||
POWER_SUPPLY_ENERGY_FULL_DESIGN=56160000
|
||||
POWER_SUPPLY_ENERGY_FULL=44350000
|
||||
POWER_SUPPLY_ENERGY_NOW=43580000
|
||||
POWER_SUPPLY_CAPACITY=98
|
||||
POWER_SUPPLY_CAPACITY_LEVEL=Normal
|
||||
POWER_SUPPLY_MODEL_NAME=45N1001
|
||||
POWER_SUPPLY_MANUFACTURER=SANYO
|
||||
POWER_SUPPLY_SERIAL_NUMBER=18990
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/BAT0/voltage_min_design
|
||||
10800000
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/BAT0/voltage_now
|
||||
12367000
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/BAT0/energy_full
|
||||
44350000
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/BAT0/energy_now
|
||||
43580000
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/BAT0/capacity
|
||||
98
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/BAT0/technology
|
||||
Li-ion
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/BAT0/status
|
||||
Unknown
|
37
root/opt/phpsysinfo/sample/plugin_bat/log_android233.txt
Normal file
37
root/opt/phpsysinfo/sample/plugin_bat/log_android233.txt
Normal file
@@ -0,0 +1,37 @@
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/uevent
|
||||
POWER_SUPPLY_NAME=battery
|
||||
POWER_SUPPLY_STATUS=Charging
|
||||
POWER_SUPPLY_HEALTH=Good
|
||||
POWER_SUPPLY_PRESENT=1
|
||||
POWER_SUPPLY_TECHNOLOGY=Li-ion
|
||||
POWER_SUPPLY_VOLTAGE_MAX_DESIGN=4300
|
||||
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=2800
|
||||
POWER_SUPPLY_VOLTAGE_NOW=4200
|
||||
POWER_SUPPLY_CAPACITY=100
|
||||
POWER_SUPPLY_BATT_TEMP=300
|
||||
POWER_SUPPLY_BATT_TEMP_ADC=82
|
||||
POWER_SUPPLY_BATT_VOL=4200
|
||||
POWER_SUPPLY_BATT_VOL_ADC=3707
|
||||
POWER_SUPPLY_BATT_VF_ADC=0
|
||||
POWER_SUPPLY_BATT_VOL_ADC_AVER=3707
|
||||
POWER_SUPPLY_BATT_TEMP_ADC_AVER=82
|
||||
POWER_SUPPLY_BATT_VOL_AVER=0
|
||||
POWER_SUPPLY_BATT_TEMP_AVER=15
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/capacity
|
||||
100
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/batt_temp
|
||||
300
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/batt_temp_adc
|
||||
82
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/batt_vol
|
||||
4200
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/voltage_min_design
|
||||
2800
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/voltage_max_design
|
||||
4300
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/technology
|
||||
Li-ion
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/status
|
||||
Charging
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/health
|
||||
Good
|
20
root/opt/phpsysinfo/sample/plugin_bat/log_android412.txt
Normal file
20
root/opt/phpsysinfo/sample/plugin_bat/log_android412.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/uevent
|
||||
POWER_SUPPLY_NAME=battery
|
||||
POWER_SUPPLY_TYPE=Battery
|
||||
POWER_SUPPLY_STATUS=Charging
|
||||
POWER_SUPPLY_PRESENT=1
|
||||
POWER_SUPPLY_HEALTH=Good
|
||||
POWER_SUPPLY_TECHNOLOGY=Li-poly
|
||||
POWER_SUPPLY_CAPACITY=100
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/capacity
|
||||
100
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/batt_temp
|
||||
330
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/batt_vol
|
||||
4181
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/technology
|
||||
Li-poly
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/status
|
||||
Charging
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/health
|
||||
Good
|
33
root/opt/phpsysinfo/sample/plugin_bat/log_android422.txt
Normal file
33
root/opt/phpsysinfo/sample/plugin_bat/log_android422.txt
Normal file
@@ -0,0 +1,33 @@
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/uevent
|
||||
POWER_SUPPLY_NAME=battery
|
||||
POWER_SUPPLY_STATUS=Charging
|
||||
POWER_SUPPLY_CHARGE_TYPE=Fast
|
||||
POWER_SUPPLY_HEALTH=Good
|
||||
POWER_SUPPLY_PRESENT=1
|
||||
POWER_SUPPLY_ONLINE=3
|
||||
POWER_SUPPLY_TECHNOLOGY=Li-ion
|
||||
POWER_SUPPLY_VOLTAGE_MAX_DESIGN=4350000
|
||||
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=3400000
|
||||
POWER_SUPPLY_VOLTAGE_NOW=3926715
|
||||
POWER_SUPPLY_CAPACITY=14
|
||||
POWER_SUPPLY_CURRENT_MAX=1000000
|
||||
POWER_SUPPLY_CURRENT_NOW=736500
|
||||
POWER_SUPPLY_TEMP=308
|
||||
POWER_SUPPLY_ENERGY_FULL=1940000000
|
||||
POWER_SUPPLY_CHARGE_NOW=46573
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/capacity
|
||||
14
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/batt_temp_adc
|
||||
308
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/batt_vfocv
|
||||
3920
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/voltage_min_design
|
||||
3400000
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/voltage_max_design
|
||||
4350000
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/technology
|
||||
Li-ion
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/status
|
||||
Charging
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/battery/health
|
||||
Good
|
41
root/opt/phpsysinfo/sample/plugin_bat/log_darwin_1.txt
Normal file
41
root/opt/phpsysinfo/sample/plugin_bat/log_darwin_1.txt
Normal file
@@ -0,0 +1,41 @@
|
||||
---Sat, 11 May 2013 09:44:41 +0000 GMT--- Executing: ioreg -w0 -l -n AppleSmartBattery -r
|
||||
+-o AppleSmartBattery <class AppleSmartBattery, id 0x1000001e7, registered, matched, active, busy 0 (0 ms), retain 6>
|
||||
{
|
||||
"TimeRemaining" = 0
|
||||
"AvgTimeToEmpty" = 65535
|
||||
"InstantTimeToEmpty" = 65535
|
||||
"ExternalChargeCapable" = Yes
|
||||
"CellVoltage" = (4185,4183,4184,0)
|
||||
"PermanentFailureStatus" = 0
|
||||
"BatteryInvalidWakeSeconds" = 30
|
||||
"AdapterInfo" = 0
|
||||
"MaxCapacity" = 5060
|
||||
"Voltage" = 12552
|
||||
"DesignCycleCount70" = 65535
|
||||
"Manufacturer" = "DP"
|
||||
"Location" = 0
|
||||
"CurrentCapacity" = 5060
|
||||
"LegacyBatteryInfo" = {"Amperage"=234,"Flags"=5,"Capacity"=5060,"Current"=5060,"Voltage"=12552,"Cycle Count"=548}
|
||||
"FirmwareSerialNumber" = 60664
|
||||
"BatteryInstalled" = Yes
|
||||
"PackReserve" = 200
|
||||
"CycleCount" = 548
|
||||
"DesignCapacity" = 5770
|
||||
"OperationStatus" = 58435
|
||||
"ManufactureDate" = 15764
|
||||
"AvgTimeToFull" = 0
|
||||
"BatterySerialNumber" = "9G0520ESBD3MA"
|
||||
"PostDischargeWaitSeconds" = 120
|
||||
"Temperature" = 3062
|
||||
"MaxErr" = 1
|
||||
"ManufacturerData" = <000000000201000201580000024b3663033030310341544c00170000>
|
||||
"FullyCharged" = Yes
|
||||
"InstantAmperage" = 0
|
||||
"DeviceName" = "bq20z451"
|
||||
"IOGeneralInterest" = "IOCommand is not serializable"
|
||||
"Amperage" = 234
|
||||
"IsCharging" = No
|
||||
"DesignCycleCount9C" = 1000
|
||||
"PostChargeWaitSeconds" = 120
|
||||
"ExternalConnected" = Yes
|
||||
}
|
18
root/opt/phpsysinfo/sample/plugin_bat/log_freebsd_1.txt
Normal file
18
root/opt/phpsysinfo/sample/plugin_bat/log_freebsd_1.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
---Sat, 11 May 2013 09:44:41 +0000 GMT--- Executing: acpiconf -i batt
|
||||
Design capacity: 50000 mWh
|
||||
Last full capacity: 50000 mWh
|
||||
Technology: secondary (rechargeable)
|
||||
Design voltage: 10000 mV
|
||||
Capacity (warn): 100 mWh
|
||||
Capacity (low): 50 mWh
|
||||
Low/warn granularity: 1 mWh
|
||||
Warn/full granularity: 1 mWh
|
||||
Model number: 1
|
||||
Serial number: 0
|
||||
Type: VBOX
|
||||
OEM info: innotek
|
||||
State: high
|
||||
Remaining capacity: 100%
|
||||
Remaining time: unknown
|
||||
Present rate: 0 mW
|
||||
Present voltage: 10000 mV
|
18
root/opt/phpsysinfo/sample/plugin_bat/log_freebsd_2.txt
Normal file
18
root/opt/phpsysinfo/sample/plugin_bat/log_freebsd_2.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
---Sat, 11 May 2013 09:44:41 +0000 GMT--- Executing: acpiconf -i batt
|
||||
Design capacity: 4800 mAh
|
||||
Last full capacity: 3824 mAh
|
||||
Technology: secondary (rechargeable)
|
||||
Design voltage: 14800 mV
|
||||
Capacity (warn): 240 mAh
|
||||
Capacity (low): 144 mAh
|
||||
Low/warn granularity: 264 mAh
|
||||
Warn/full granularity: 3780 mAh
|
||||
Model number: Primary
|
||||
Serial number:
|
||||
Type: Lion
|
||||
OEM info: ACER
|
||||
State: discharging
|
||||
Remaining capacity: 95%
|
||||
Remaining time: unknown
|
||||
Present rate: 0 mA
|
||||
Voltage: 16391 mV
|
22
root/opt/phpsysinfo/sample/plugin_bat/log_test_1.txt
Normal file
22
root/opt/phpsysinfo/sample/plugin_bat/log_test_1.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /proc/acpi/battery/BAT0/state
|
||||
present: yes
|
||||
capacity state: ok
|
||||
charging state: charged
|
||||
present rate: 0 mA
|
||||
remaining capacity: 1009 mAh
|
||||
present voltage: 12167 mV
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /proc/acpi/battery/BAT0/info
|
||||
present: yes
|
||||
design capacity: 4400 mAh
|
||||
last full capacity: 1009 mAh
|
||||
battery technology: rechargeable
|
||||
design voltage: 10800 mV
|
||||
design capacity warning: 220 mAh
|
||||
design capacity low: 132 mAh
|
||||
cycle count: 0
|
||||
capacity granularity 1: 264 mAh
|
||||
capacity granularity 2: 3780 mAh
|
||||
model number: Li_Ion_4000mA
|
||||
serial number: 0000
|
||||
battery type: Lion
|
||||
OEM info: SANYO
|
22
root/opt/phpsysinfo/sample/plugin_bat/log_test_2.txt
Normal file
22
root/opt/phpsysinfo/sample/plugin_bat/log_test_2.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /proc/acpi/battery/BAT0/state
|
||||
present: yes
|
||||
capacity state: ok
|
||||
charging state: charged
|
||||
present rate: 0 mW
|
||||
remaining capacity: 70380 mWh
|
||||
present voltage: 12400 mV
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /proc/acpi/battery/BAT0/info
|
||||
present: yes
|
||||
design capacity: 82280 mWh
|
||||
last full capacity: 72420 mWh
|
||||
battery technology: rechargeable
|
||||
design voltage: 10800 mV
|
||||
design capacity warning: 3621 mWh
|
||||
design capacity low: 200 mWh
|
||||
cycle count: 0
|
||||
capacity granularity 1: 1 mWh
|
||||
capacity granularity 2: 1 mWh
|
||||
model number: 92P1137
|
||||
serial number: 999
|
||||
battery type: LION
|
||||
OEM info: SANYO
|
31
root/opt/phpsysinfo/sample/plugin_bat/log_vbox.txt
Normal file
31
root/opt/phpsysinfo/sample/plugin_bat/log_vbox.txt
Normal file
@@ -0,0 +1,31 @@
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/BAT0/uevent
|
||||
POWER_SUPPLY_NAME=BAT0
|
||||
POWER_SUPPLY_STATUS=Unknown
|
||||
POWER_SUPPLY_PRESENT=1
|
||||
POWER_SUPPLY_TECHNOLOGY=Unknown
|
||||
POWER_SUPPLY_CYCLE_COUNT=0
|
||||
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=10000000
|
||||
POWER_SUPPLY_VOLTAGE_NOW=10000000
|
||||
POWER_SUPPLY_POWER_NOW=0
|
||||
POWER_SUPPLY_ENERGY_FULL_DESIGN=50000000
|
||||
POWER_SUPPLY_ENERGY_FULL=50000000
|
||||
POWER_SUPPLY_ENERGY_NOW=49000000
|
||||
POWER_SUPPLY_CAPACITY=98
|
||||
POWER_SUPPLY_CAPACITY_LEVEL=Normal
|
||||
POWER_SUPPLY_MODEL_NAME=1
|
||||
POWER_SUPPLY_MANUFACTURER=innotek
|
||||
POWER_SUPPLY_SERIAL_NUMBER=0
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/BAT0/voltage_min_design
|
||||
10000000
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/BAT0/voltage_now
|
||||
10000000
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/BAT0/energy_full
|
||||
50000000
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/BAT0/energy_now
|
||||
49000000
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/BAT0/capacity
|
||||
98
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/BAT0/technology
|
||||
Unknown
|
||||
---Sun, 12 May 2013 18:32:54 +0000 GMT--- Reading: /sys/class/power_supply/BAT0/status
|
||||
Unknown
|
Reference in New Issue
Block a user