Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6137797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:46:18+00:00 2026-05-23T17:46:18+00:00

Background I’m developing a research application that runs on Android phones. In short, the

  • 0

Background

I’m developing a research application that runs on Android phones. In short, the application runs so long as the phone is on and periodically takes information from many components and sensors on the phone. The application is to disturb the user as little as possible. That being said, it’s draining the battery far too quickly and forces the user to recharge every day. This simply won’t do.

To try and figure out how to improve the situation, a colleague also working on the application let the application run for a long period of time and noticed that the biggest battery hog is WiFi. My current idea is to manually shut off WiFi when it’s not in use in an attempt to save power. AFAIK, Android uses PSM for WiFi to accomplish this to some end, but it doesn’t seem to be enough.

Problem

Is there a way to “ramp up” Android’s PSM? Or, if there is not as this question suggests, is there any way that I can safely turn WiFi on and off without adversely affecting the user? I.e., is there a way to tell which applications are using WiFi and turn it off when none are? Do standard applications – such as the web browser and email clients – use WiFi locks to prevent WiFi from being turned off when they are working?

Any advice on where to start in solving this problem are greatly appreciated. Information on how Android’s PSM works, how long it takes for it to take effect, or any information relevant to the problem are very welcome.

Thanks for your time!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T17:46:18+00:00Added an answer on May 23, 2026 at 5:46 pm

    Is there a way to “ramp up” Android’s PSM?

    Not via the Android SDK.

    I.e., is there a way to tell which applications are using WiFi and turn it off when none are?

    The OS does this already.

    Do standard applications – such as the web browser and email clients – use WiFi locks to prevent WiFi from being turned off when they are working?

    Some probably do. You are welcome to search the Android source code and find out. Of course, bear in mind that there are no “standard applications” — I presume you are thinking of the ones that are part of the Android open source project.

    Any advice on where to start in solving this problem are greatly appreciated.

    Find out where in your own code you are being inefficient, specifically here:

    the application runs so long as the phone is on and periodically takes information from many components and sensors on the phone.

    If the device behaves fine when your code is not running, and the device does not behave fine when your code is running, then the problem lies in your code. Conversely, if the device does not behave fine even when your code is not running, then something else is afoot (device defect, firmware defect, rogue application, etc.), but it probably has nothing to do with StackOverflow.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Background I am developing an application for android in eclipse and now I have
Background: At my company we are developing a bunch applications that are using the
Background Developing a simple web application (Eclipse + JBoss + Apache Tomcat) to generate
Background I, like scores of programmers before me, am working on an application that
Background: I have an application written in Delphi that uses the Borland Database Engine
Background Story: I am developing a GWT application, using the standard MVP design pattern,
Background: Some time ago, I built a system for recording and categorizing application crashes
Background We have a Windows .NET application used by our field employees who travel
Background : I currently have a Web Forms, ASP.NET 3.5/C# application which I'm interested
Background I have a web app that will create an image from user input.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.