I'm using the following code provided in the Forum Nokia Wiki and in the Symbian techlib for retrieving the battery status on a 3rd edition phone:
- Forum Nokia Wiki
- Symbian techlib
While no charger is connected to my phone (N73 resp. N95) I get the return value "CTelephony::EPoweredByBattery" (The phone is powered by the battery). That's o.k.
But if I connect the charger (with inserted battery!), I get the return value "CTelephony::ENoBatteryConnected"...
That's strange because I expected the return value "CTelephony::EBatteryConnectedButExternallyPowered" (Battery connected, but phone is externaly powered).
What do you think? Is that a bug? Does someone haven an idea on how to solve it?