Developers apps can tell when
- the device is on a touchstone
- the device is charging
- the device is not charging
- the device has less than 50% battery
This would allow apps to slow down resource consumption when the battery dips below 50%, allow the apps to use as much as it wants when charging, and off special stuff if it is on a touchstone.