title: Android :How to get Battery status without Broadcast Receiver for API level 17 and above?
body: <p>I want to get Battery status. I searched it on stack and i found the sample code using Broadcast Receiver but problem is that in my code i cannot use Broadcast Receiver.</p>
  
  <p>So is there any way to get battery status without using Broadcast Receiver. It is possible for API 21 and above but i want it for API 17 and above.
  Thank you</p>