Universal state-of-charge indication for portable applications by