Archived:How to get the battery strength of mobile using Symbian C++ before Symbian OS v9
Pre-Symbian OS v9 solution
#include <saclient.h>
Link against: sysagt.lib
RSystemAgent systemAgent;
User::LeaveIfError(systemAgent.Connect());
TInt strength = systemAgent.GetState(KUidBatteryStrength);
systemAgent.Close();
Post v9 solution

