Blog

How to test sensor availability on an older phone

Check which motion, compass, light, location, and vibration sensors your older phone exposes to the browser, and learn what missing readings mean.

Kevin DoyleHardware tests 5 min read

Your phone may have a compass or motion sensor but show no readings in a browser. That does not automatically mean the sensor is broken. The phone, operating system, browser, and privacy permissions all affect what a website can access.

Use the Sensors Test to check motion, gyroscope, compass, light, location, and vibration access on the phone itself. Testing on the phone matters because a browser on another device cannot report its sensors.

Test the phone's sensors

  1. Open the Sensors Test in the phone's browser. Keep the page open and the screen awake while testing.
  2. If the browser asks for permission, allow access only for the sensor you want to check. Location is optional, so you can skip it if you do not want to share your location with the browser.
  3. Move the phone slowly through a few different positions. Watch whether motion, gyroscope, or compass readings change. Keep it away from magnets and metal objects while checking the compass.
  4. Check light in a bright and a dim place, if the test offers a light reading. Try vibration only when the phone is somewhere you can feel it, and check that vibration is not disabled in the phone's settings.
  5. Test one item at a time and note what works, what stays blank, and whether the browser showed a permission message. This makes it easier to separate a missing sensor from blocked access.

Use gentle movements and keep the phone secure in your hand. The test is for checking whether the browser receives sensor information, not for measuring the phone's accuracy for navigation or medical use.

What the result means

Readings change when you move the phone

The browser is receiving data from that sensor. If a particular app still behaves as though the sensor is missing, check that app's permissions and settings. A browser test does not prove that every app can use the same data.

One sensor works, but another has no reading

Phones do not all include the same hardware, and browsers do not expose every sensor on every device. For example, an older phone may not have a gyroscope, or its browser may not provide access to a sensor it does have. A blank result by itself is not proof of damage.

The browser asks for permission or reports access is blocked

The phone may have the sensor, but the website cannot read it until the required permission is granted. Location has a separate permission from motion data. If you deny a request, the test cannot confirm whether location access works.

The readings appear only after a tap or a reload

Some mobile browsers require a user action before allowing motion or orientation access. A permission prompt can also be dismissed or remembered from an earlier visit. Reload the page, interact with it, and check the browser's site permissions if the prompt does not return.

Nothing responds, including vibration

This could be a browser limitation, a disabled setting, or a hardware issue. Vibration is an output feature, not a sensor that measures movement. A browser may be unable to trigger it even if the phone has a working vibration motor.

How to fix missing sensor readings

  1. Keep the phone awake and try again. Unlock it, leave the test page in the foreground, and move the phone slowly. Some phones pause sensor activity when the screen is locked or the browser is in the background.
  2. Check the browser's site permissions. Open the site's information or permissions menu beside the address bar and review location and motion access if listed. Allow only the access needed for the test, then reload the page.
  3. Check the phone's location setting. On Android, open Settings › Location, turn on location if you want to test it, then check the browser under Settings › Apps › Chrome › Permissions › Location. The names can differ by phone maker and Android version. On iPhone, check Settings › Privacy & Security › Location Services, then review the browser's access.
  4. Review motion access on iPhone. Search Settings for Motion & Orientation Access or look under Settings › Apps › Safari or Settings › Safari, depending on your iOS version. If the option is available, enable it for the test, then return to the page and try again.
  5. Update the browser and restart the phone. An older browser may not support the same sensor features as a newer one. Install available updates, restart the phone, and test again.
  6. Compare with another browser on the same phone. If readings work in one browser but not another, the difference points to browser support or permissions, not necessarily failed hardware. If neither browser can access a sensor, continue with the phone maker's built-in diagnostic or support guidance.

When it may be a hardware problem

Look for a pattern beyond a single blank browser result. If the compass, screen rotation, or motion-based features also fail in the phone's own apps after permissions and settings are checked, a sensor or its connection may be damaged. A phone that was dropped or exposed to moisture deserves extra caution.

If other apps use the feature normally, the browser test may simply lack access. If the feature fails across the phone, back up important data and contact the manufacturer or a repair shop. On an older phone, ask for the repair cost before paying for a sensor replacement.

Why a phone can have a sensor the browser cannot use

A sensor being installed is different from a website being allowed to read it. The operating system and browser decide which information websites can receive, and older software may support fewer browser features. Some phones also omit sensors found in newer models.

Location is not a single dedicated compass-like reading. The phone may estimate it from satellite signals, Wi-Fi, or cell networks, and the browser still needs permission. Light readings can also be unavailable to websites even when the phone adjusts screen brightness automatically. Treat the test as a check of browser access, not a complete inventory of the phone's hardware.