android: battery status detection.

Wonderful solution how to detect battery status was found in this article “Android Battery in SDK

Works for my project very well. My recommendations.