i wanna write MIDlet that detect battery level and status all batter info
when i search i found property on nokia
System.getProperty("com.nokia.mid.batterylevel")''1
but when i parse the value to int value it throws NumberFormatException
and i another way to write th app to use JSR256 Mobile sensor API
any one have idea how do this ?.1

