[Gta04-owner] QtMoko v49

arne anka openmoko at ginguppin.de
Tue Nov 20 21:10:58 CET 2012


> /sys/class/power_supply/bq27000-battery/

root at neo:/sys/class/power_supply/bq27000-battery# dir
total 0
drwxr-xr-x 3 root root    0 Nov 20 21:00 ./
drwxr-xr-x 3 root root    0 Nov 20 21:00 ../
-r--r--r-- 1 root root 4096 Nov 20 21:00 capacity
-r--r--r-- 1 root root 4096 Nov 20 21:06 capacity_level
-r--r--r-- 1 root root 4096 Nov 20 21:06 charge_full
-r--r--r-- 1 root root 4096 Nov 20 21:06 charge_full_design
-r--r--r-- 1 root root 4096 Nov 20 21:06 charge_now
-r--r--r-- 1 root root 4096 Nov 20 21:00 current_now
-r--r--r-- 1 root root 4096 Nov 20 21:06 cycle_count
lrwxrwxrwx 1 root root    0 Nov 20 21:06 device ->  
../../../bq27000-battery/
-r--r--r-- 1 root root 4096 Nov 20 21:06 energy_now
drwxr-xr-x 2 root root    0 Nov 20 21:06 power/
-r--r--r-- 1 root root 4096 Nov 20 21:06 present
-r--r--r-- 1 root root 4096 Nov 20 21:00 status
lrwxrwxrwx 1 root root    0 Nov 20 21:00 subsystem ->  
../../../../../../class/power_supply/
-r--r--r-- 1 root root 4096 Nov 20 21:06 technology
-r--r--r-- 1 root root 4096 Nov 20 21:06 temp
-r--r--r-- 1 root root 4096 Nov 20 21:06 time_to_empty_avg
-r--r--r-- 1 root root 4096 Nov 20 21:00 time_to_empty_now
-r--r--r-- 1 root root 4096 Nov 20 21:06 time_to_full_now
-r--r--r-- 1 root root 4096 Nov 20 21:06 type
-rw-r--r-- 1 root root 4096 Nov 20 21:00 uevent
-r--r--r-- 1 root root 4096 Nov 20 21:06 voltage_now


root at neo:/sys/class/power_supply/bq27000-battery# for i in *; do echo  
"file: "$i; cat $i ; echo ; done
file: capacity
cat: capacity: No data available

file: capacity_level
Normal

file: charge_full
cat: charge_full: No data available

file: charge_full_design
1233792

file: charge_now
1011559

file: current_now
-133696

file: cycle_count
228

file: device
cat: device: Is a directory

file: energy_now
cat: energy_now: No data available

file: power
cat: power: Is a directory

file: present
1

file: status
Charging

file: subsystem
cat: subsystem: Is a directory

file: technology
Li-ion

file: temp
256

file: time_to_empty_avg
cat: time_to_empty_avg: No data available

file: time_to_empty_now
cat: time_to_empty_now: No data available

file: time_to_full_now
cat: time_to_full_now: No data available

file: type
Battery

file: uevent
POWER_SUPPLY_NAME=bq27000-battery
POWER_SUPPLY_STATUS=Charging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_VOLTAGE_NOW=4164000
POWER_SUPPLY_CURRENT_NOW=-133696
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_TEMP=256
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CHARGE_NOW=1011559
POWER_SUPPLY_CHARGE_FULL_DESIGN=1233792
POWER_SUPPLY_CYCLE_COUNT=228

file: voltage_now
4164000


More information about the Gta04-owner mailing list