I have developed an Android App.
But sometimes I can notice that my app is consuming battery even when I am not even opening it once.
The Battery consumption is more than 1 % and goes up to 5 % at times.
My App has four Broadcast receivers-
1)Evey time the device is booted my App gets a receiver
2)Every Time my Application is updated my App gets a receiver
3)When Ever the user changes the device time or date again my App gets a receiver
4)An Alaram Reciever
My app sets an Alaram with the user's consent which is triggered every day at a particular time and performs a small function present inside an Intent Service which might last for a maximum of 1 Minute.
I believe that the battery consumption is not because of these receivers/services as these were the part of the app from starting but the battery consumption has risen in recent times. Could there be a chance that some library/SDK is consuming battery?
Is there any tool which could help me analyze the reason for the consumption of the battery by my app?
EDIT - I am not sure why this question has been marked duplicate but the other question doesn't address the full problem. I want to exactly track down which library or class is consuming battery. Whereas the other question only mentions the way to track down the battery usage by the app.