Settings - General Settings - System - Battery - Battery Capacity
If your device supports this, it will be there.
[St.]
EDIT: Shit, sorry...I misread.
There shouldn't be anything stopping you from adding more options to the source and recompiling.
As I understand it though, setting the battery capacity isn't entirely useful.
[St.]