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

  • SEARCH
  • Home
  • 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 9205813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T00:02:34+00:00 2026-06-18T00:02:34+00:00

I want to accept Bluetooth connections (even when the screen is off) for building

  • 0

I want to accept Bluetooth connections (even when the screen is off) for building a mobile ad-hoc P2P network. Since it seems that incoming connections don’t wake the device up, I think I will either need to keep the device permanently awake with a partial WakeLock (which will drain the battery relatively quickly), or wake it up for short periods of time to check for new connections.

Now, my question is: Is it more efficient to wake the device up at regular intervals, or is it better to just keep it awake because the wakeup-sleep-transition will eat more power than simply keeping the device awake all the time? The intervals I am talking about here are on a scale of 1-10 seconds.

Alternate solutions that get around the issue are also highly welcome, of course, if they aren’t limited to a small set of devices.

  • 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-06-18T00:02:36+00:00Added an answer on June 18, 2026 at 12:02 am

    You need to test with a real device and you might get different results with different devices. Generally, if you are going to wake up every second, just keep the thing awake (you can blank the screen to save some power). Or you can use something like cloud messaging (GCM) to wake up the device, but that will require a separate server. Example: device1 sends to server ‘I am here message’, server sends to device2 ‘device1 is over there, wake up and check it out’ message, device1 connects to device2. This, of course, might be overkill for you 🙂

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

Sidebar

Related Questions

So I have a location search field that I want to accept pretty much
I want to write a C# method that can accept any number. Something like:
I want to write a stored procedure that will accept a parameter of @searchString.
new rails user here. I have a rails project that I want to accept
Is any method to connect to iphone by bluetooth without asking accept? I want
I want to accept only the number that is given in the number of
I'm experimenting with configuration-less WIF, where I want to accept a SAML2 token that
Motivation: I am building a command commitdeploy which I want to accept very raw
I want to accept string that begins with s than the next character (whatever
I have a username field that I don't want to accept characters like {*)&(%^%()_}

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.