You can use your XO when you're charging the battery or when you have a good source for power. For power sources, you can use the generator supplied by the OLPC Project to your school or another source of electricity.
Charging the XO battery
Using battery power
When to charge the battery