Skip to content

Latest commit

 

History

History

MagneticFieldTest

Magnetic Field Sensor Test

This app tests the magnetic field sensor energy consumption by creating a listener that listens for changes reported by this sensor.

How does it work?

The app creates a sensor listener for the magnetic field sensor which listens for changes in the sensor.

Benchmark settings

Use phone settings:

  • Disable WiFi
  • Set screen brightness to its minimum
  • Enable location services (this is needed to use the magnetic field sensor)

Use config.json settings:

  • enable_systrace_parsing set to True