Charging Test Plan
From Openmoko
Contents |
Test Scope
To test Charging functionality
Test Duration
60 minutes
Test Environment
1. Neo FreeRunner
2. AC USB charger
3. FIC GTA02 battery
4. Linux host
5. Debug Board v3
6. USB cable
Test Cases
Test Case #1
- Use Linux host and Neo FreeRunner in Power Management:Disabled
Connect Neo FreeRunner to Linux host via USB cable
Power on Neo FreeRunner to Openmoko Image
Press Power button and get into Power Menu
Select Power Management:Disabled
Key in the command in the terminal of Linux host
ifconfig usb0 192.168.0.200 netmask 255.255.255.0
Connect Neo FreeRunner via SSH
ssh root@192.168.0.202
Press Enter to pass the password authentication
root@fic-gta02:~#
Check if charging or not
cat /sys/devices/platform/bq27000-battery.0/power_supply/bat/status Charging
Test Case #2
- Use Linux host and Neo FreeRunner in Lock Display
Connect Neo FreeRunner to Linux host via USB cable
Power on Neo FreeRunner to Openmoko Image
Press Power button and get into POWER Menu
Select Lock Display
Key in the command in the terminal of Linux host
ifconfig usb0 192.168.0.200 netmask 255.255.255.0
Connect Neo FreeRunner via SSH
ssh root@192.168.0.202
Press Enter to pass the password authentication
root@fic-gta02:~#
Check if charging or not
cat /sys/devices/platform/bq27000-battery.0/power_supply/bat/status Charging
Test Case #3
- Use AC USB charger and Neo FreeRunner in Power Management:Disabled
Connect Neo FreeRunner to Linux host via Debug Board v3
Connect Neo FreeRunner to wall plug via AC USB charger
Power on Neo FreeRunner to Openmoko Image
Press Power button and get into Power Menu
Select Power Management:Disabled
Key in the command in the terminal of Linux host
./neocon /dev/ttyUSB1
key in root account and press Enter to pass the password authentication
root@fic-gta02:~#
Check if charging or not
cat /sys/devices/platform/bq27000-battery.0/power_supply/bat/status Charging
Test Case #4
- Use AC USB charger and Neo FreeRunner in Lock Display
Connect Neo FreeRunner to Linux host via Debug Board v3
Connect Neo FreeRunner to wall plug via AC USB charger
Power on Neo FreeRunner to Openmoko Image
Press Power button and get into POWER Menu
Select Lock Display
Key in the command in the terminal of Linux host
./neocon /dev/ttyUSB1
key in root account and press Enter to pass the password authentication
root@fic-gta02:~#
Check if charging or not
cat /sys/devices/platform/bq27000-battery.0/power_supply/bat/status Charging
Test Case #5
- Charging and battery icon display
Connect Neo FreeRunner to wall plug via AC USB charger
Charging icon display
Unplug AC USB charger
Battery icon display
Connect Neo FreeRunner to Linux host via USB cable
Charging icon display
Unplug USB cable
Battery icon display
Test Case #6
- Battery level display
Power on Neo FreeRunner to Openmoko Image
Press Power button and get into Power Menu
Select Power Management:Disabled
Battery level is decreasing
Test Case #7
- How long does charge complete from empty to full in Power Management:Disabled through Linux host
Insert empty battery into Neo FreeRunner
Connect Neo FreeRunner to Linux host via USB cable
Power on Neo FreeRunner to Openmoko Image in Power Management:Disabled
Key in the command in the terminal of Linux host
ifconfig usb0 192.168.0.200 netmask 255.255.255.0
Connect Neo FreeRunner via SSH
ssh root@192.168.0.202
Press Enter to pass the password authentication
root@fic-gta02:~#
Check the time to full
cat /sys/devices/platform/bq27000-battery.0/power_supply/bat/time_to_full_now
Test Case #8
- How long does charge complete from empty to full in Power Management:Disabled through AC USB charger
Insert empty battery into Neo FreeRunner
Connect Neo FreeRunner to Linux host via Debug Board v3
Connect Neo FreeRunner to wall plug via AC USB charger
Power on Neo FreeRunner to Openmoko Image in Power Management:Disabled
Key in the command in the terminal of Linux host
./neocon /dev/ttyUSB1
key in root account and press Enter to pass the password authentication
root@fic-gta02:~#
Check the time to full
cat /sys/devices/platform/bq27000-battery.0/power_supply/bat/time_to_full_now
Test Case #9
- How long does Neo FreeRunner last in Power Management:Disabled
Insert full battery into Neo FreeRunner
Connect Neo FreeRunner to Linux host via Debug Board v3
Power on Neo FreeRunner to Openmoko Image in Power Management:Disabled
Key in the command in the terminal of Linux host
./neocon /dev/ttyUSB1
key in root account and press Enter to pass the password authentication
root@fic-gta02:~#
Check the time to empty
cat /sys/devices/platform/bq27000-battery.0/power_supply/bat/time_to_empty_now
Test Case #10
- How long does Neo FreeRunner last in Lock Display
Insert full battery into Neo FreeRunner
Connect Neo FreeRunner to Linux host via Debug Board v3
Power on Neo FreeRunner to Openmoko Image in Lock Display
Key in the command in the terminal of Linux host
./neocon /dev/ttyUSB1
key in root account and press Enter to pass the password authentication
root@fic-gta02:~#
Check the time to empty
cat /sys/devices/platform/bq27000-battery.0/power_supply/bat/time_to_empty_now


