Analyze, Measure and Optimize Battery and Data usage of your Mobile apps on Android devices

Today’s smartphone users are serious about device data and battery usage and do not want to be left in the dark about some app eating up their device battery life. Studies show that battery life is the most important feature considered by a smartphone buyer today. Google has been adding frameworks like dynamic app permissions, battery optimizations in recent Android versions to bring more transparency to end users on how apps are running on their devices.

In this era where most mobile apps (Gmail, twitter, facebook, EMM clients, Google Maps, etc) tend to offer near real time experience to users using push notifications, data sync, long polling, it’s easy for developers to err and leak unnecessary data and battery on device.

App Developers are constantly striving to design mobile applications that will have minimal impact on data and battery usage and at the same time offer a real time data sync. In this session we will talk about how we measure mobile battery and data usage using Selenium integrated with Appium, and how this helps in optimizing the Battery and Data usage.

Any app that supports a push notification or data sync typically includes a server component, which sends out commands to the client, and a client component, which runs on the device and receives, executes the commands. In our implementation we have integrated Selenium and Appium Scripts to perform actions on server and client as a continuous process, creating and sending the command from the server to the client is automated through Selenium scripts, and on receiving the command on the device, Appium scripts capture the battery and data usage before and after the command has been executed from the Application settings, this is repeated for several commands and measured, baselined and optimized.

 
 

Outline/Structure of the Talk

1. Why battery and data usage testing is important?

2. Types of Battery and Data usage testing

3. Challenges faced while performing manual Data and Battery Usage testing

4. Overview on the web and mobile app integration through Selenium and Appium

5. Use cases where integration of Selenium and Appium will be helpful

Learning Outcome

1. Integration of Selenium with Appium for Battery and Data Usage testing
2. Understanding of Battery and Data Usage Testing for mobile apps
3. Metrics to measure and Optimize Battery\Data Usage Testing
4. Integration of Selenium and Appium implementation can be used for multiple mobile applications in different scenarios

Target Audience

QA, Automation Test Engineers, Dev Engineers

Prerequisites for Attendees

Anyone who has basic understanding of Selenium, Appium tool, Web Application life cycle can attend this session.
schedule Submitted 1 year ago

Public Feedback

comment Suggest improvements to the Speaker
  • Priyam Prakash
    By Priyam Prakash  ~  1 year ago
    reply Reply

    Interesting topic! Battery optimization and data usage are major concerns for the enterprise mobility. Looking forward to hearing this interesting topic. !

  • Manoj
    By Manoj  ~  1 year ago
    reply Reply

    Good topic Shabir Shariff !!!!

    Keep me posted on the date and time of the conference.

  • Mridul Mohan
    By Mridul Mohan  ~  1 year ago
    reply Reply

    Battery optimisation is always a case of worry. Would be more interested to know more on this Selenium and Appium proposal.

  • John
    By John  ~  1 year ago
    reply Reply

    Curious to know how this will be done and what this testing can add on top of existing Android built-in analytics

  • Kaushik Sindhu
    By Kaushik Sindhu  ~  1 year ago
    reply Reply

    Nice topic!! Battery and mobile data is a major concern for many mobile enterprise users..

     

  • Rinkalkumar Bhanderi
    By Rinkalkumar Bhanderi  ~  1 year ago
    reply Reply

    SeleniumConf is great platform to share knowledge.

    In mobile world, data and battery plays critical role.

    Benchmarking and optimizing your product to run with possible minimum consumption of data and battery is one of the key factor for any good mobile product.

    This session seems interesting, looking forward to have it.

  • Imninder Singh
    By Imninder Singh  ~  1 year ago
    reply Reply

    Sounds good , Looking forward for this informative session

  • Abhilash Dhanraj
    By Abhilash Dhanraj  ~  1 year ago
    reply Reply

    Good Platform to share knowledge...

  • uma anand
    By uma anand  ~  1 year ago
    reply Reply

    Interesting, this addresses one of the major issues customers are facing today

  • Prachujya Saikia
    By Prachujya Saikia  ~  1 year ago
    reply Reply

    Not just limited to battery and data usage automation but also a step towards Selenium and Appium integration.

  • Deepika Deepu
    By Deepika Deepu  ~  1 year ago
    reply Reply

    Integration of Selenium with Appium seems very useful to reduce manual efforts.

  • pavithra k
    By pavithra k  ~  1 year ago
    reply Reply

    The topic seems interesting and can be used in the industry for measuring data usage and battery usage of mobile devices.