What is a canonical battery test that I can use before and after upgrading the OS version?


Question

I am about to upgrade from Android K to Android L.
Right after, I will upgrade from Android L to Android M.



In a previous empirical experiment, with a now-demised device, I noticed (or seem to have noticed) that the battery life seriously degraded after upgrading Android.



Even after a good month of daily charging and discharging (from 0% to 100% and back), in the vain hope of properly recalibrating the battery, the lifetime was still down to about 8-10 hours from about 14-16 hours.



This time I would like to be able to prove it.



What is a canonical battery test that I can run (now and after upgrading) to determine whether upgrading deteriorated the battery life? I imagine that viewing a 6-hour YouTube video and noticing how far it goes would do the trick, but it's also very skewed to a single task. Is there an alternative that better represents the daily activities with an Android phone?



Update:



In addition to beeshyams's answer I'd like to point to Firelord's suggestion to use GSam, which does provide an ongoing "Averages Per Complete Charge".



GSam screenshot


Answer

By now you would have long upgraded, but answering this hoping it may help anybody read it.




  • "What is a canonical battery test that I can run (now and after upgrading) to determine whether upgrading deteriorated the battery life? Battery usage depends on so many parameters. The list is possibly endless but few examples are highlighted below, leading to the conclusion that designing a canonical test is impractical from end user point of view




    • Device/ carrier specific -CPU (frequency range, governor, number of cores) , GPU( frequency range, Mali blobs), screen (LCD, AMOLED and it's variants, brightness), network (2G,UMTS,3G,4G,LTE etc)

    • Usage Specific - activating sensors (like GPS, proximity which drain battery faster), social network apps which keep the device on always, type of sites visited and how long (plain text, multimedia), upload/download (also depends on host server traffic etc)


  • Related to this, is that there seems to be no standard definition that defines average use. See my question How is an "average use" defined in terms of battery life. Answer to that question may help you in understanding how industry tests are carried out.

  • Even after a good month of daily charging and discharging (from 0% to 100% and back), in the vain hope of properly recalibrating the battery - Battery calibration is a myth, see answer here


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes