can someone say how to find out battery usage in my android application
The documentation states that you can register for an event of a change in battery status.
You can see it in the following place:
http://developer.android.com/reference/android/content/Intent.html#ACTION_BATTERY_CHANGED
You can get battery information using BatteryManager.
The Battery Information link opens.
Source: https://habr.com/ru/post/1396136/More articles:Show my activity instead of the standard screen for an incoming call - androidHow to treat an uncompressed folder as a compressed file? - gitUnderstanding Wikipedia code for a general tree depth search? - algorithmAppropriate api to get product information from scanned barcode of iphone app? - iosWhat is a good design pattern for pooling? - design-patternsCalling a view from another view - zend-frameworkHow to find specific changes in the version control system? - version-controlIn what version of Git did git -status get the --branch option? - gitSOAP message signature verification - javaversion control - version-controlAll Articles