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 7650701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:19:14+00:00 2026-05-31T11:19:14+00:00

I have to collect accelerometer data from my Android phone, so I have made

  • 0

I have to collect accelerometer data from my Android phone, so I have made a little program to do that.

After some tests, I have found that my Nexus S accelerometer’s rate is always 50 values per second when the phone is active, and 6 values per second when it is asleep (with a PARTIAL_WAKE_LOCK), whatever the rate I ask for (NORMAL, UI, GAME or FASTEST).

So I decided to install an application found on the Internet which tests the rate of the accelerometer : http://samoht.fr/tuto/accelerometers-frequency-on-android-with-code

But I got the same “error” : whatever the rate I ask for, it is always 50 values per second when the phone is active.

I don’t understand why my phone behaves this way. Is it a problem :

  • related to the Nexus S ?
  • specific to my phone ?
  • related to Android 4 ?

EDIT : I have tested the program on another Nexus S (Android 4), and I have the same problem.
So it seems to eliminate one of the possibilities listed above: it is not related only to my phone.

  • 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-31T11:19:16+00:00Added an answer on May 31, 2026 at 11:19 am

    I have performed some tests on different smartphones. Here are the results:

    Samsung Galaxy Teos
    -------------------
    * When awake
        Normal: 4.17 Hz
        UI: 8.43 hz
        Game: 16.93 Hz
        Fastest: 109.42 Hz
    
    * When asleep
        The phone sends null values (0), whatever the mode I chose
    
    
    Samsung Nexus S
    ---------------
    * When awake
        Normal: 49.51 Hz
        UI: 49.51 hz
        Game: 49.51 Hz
        Fastest: 49.51 Hz
    
    * When asleep
        6.06 Hz, whatever the mode I chose
    
    LG Nexus 5
    ----------
    * When awake
        Normal: 15.39 Hz
        UI: 15.4 Hz
        Game: 50.05 Hz
        Fastest: 196.74 Hz
    
    * When asleep
        Normal: 4.96 Hz
        UI: 15.41 Hz
        Game: 50.12 Hz
        Fastest: 198.53 Hz
    
    LG Nexus 4
    ----------
    * When awake
        Normal: 15.75 Hz
        UI: 15.74 Hz
        Game: 48.86 Hz
        Fastest: 195.85 Hz
    
    * When asleep
        Normal: 5.5 Hz
        UI: 15.74 Hz
        Game: 49.16 Hz
        Fastest: 196.75 Hz
    
    
    Samsung Galaxy Nexus
    --------------------
    * When awake
        Fastest: 125 Hz
    
    * When asleep
        It sends data
    
    
    Samsung Galaxy Note 2
    ---------------------
    * When awake
        Fastest: 100 Hz
    
    * When asleep
        The phone does not send anything
    
    
    Samsung Galaxy S3 and S3 Mini
    -----------------------------
    * When awake
        Fastest: 100 Hz
    
    * When asleep
        Fastest: 100 Hz
    
    
    HTC Wildfire
    ------------
    * When awake
        Normal: 4 Hz
        UI: 12 hz
        Game: 22.2 Hz
        Fastest: 38.40 Hz
    
    * When asleep
        The phone does not send anything, whatever the mode I chose
    
    
    HTC Desire
    ----------
    * When awake
        Normal: 4.36 Hz
        UI: 11.9 hz
        Game: 23.3 Hz
        Fastest: 47.27 Hz
    
    * When asleep
        The phone does not send anything, whatever the mode I chose
    

    Note that the tests have been performed using a partial wake lock. Without it, the Nexus S provides no data at all when it is asleep.

    There is also a useful list of smartphones which accelerometers send (or not) compatible data when asleep: http://www.saltwebsites.com/2012/android-accelerometers-screen-off

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

Sidebar

Related Questions

I have a custom workflow that uses the Collect data from a user action,
I have a script that follows that is supposed to collect data from a
I have found some code from Underscore.js _.map = _.collect = function(obj, iterator, context)
I have made a program in Java which is used to collect medical data
I have this script that collects data from users and I want to check
I have an Android app that allows the user to record data (such as
I have a large C#/WPF application. This application needs to collect data from other,
I have a PHP page that will collect mp3 links from downloads.nl. The result
I have a partial view that sometimes needs to collect data and sometimes just
I have a need to collect data from multiple sources (xml or JSON format)

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.