You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
GPS never powers off after being powered on, which causes excessive battery drain until the device is rebooted. This makes GPS very inconvenient to use
To reproduce
Steps to reproduce the behavior:
Open a GPS enabled app (asteroid-gps, asteroid-map)
Close the app
Watch as your battery drains in real time even after the GPS enabled app has been closed
Expected behavior
GPS module should power off after use.
Additional context
It seems this should be handled by geoclue-hybris, at least by default. It does have cleanup procedures tied to clients (apps) disconnecting from dbus (eg. when they close).
For whatever reason, these cleanup methods are never called, and @MagneFire has suggested that this is linked with AsteroidOS/asteroid-launcher#163 - the proposed explanation is: since the app crashes without properly disconnecting from geoclue-hybris, geoclue-hybris is not made aware that the GPS module is no longer needed and doesn't run the cleanup procedure.
The text was updated successfully, but these errors were encountered:
Describe the bug
GPS never powers off after being powered on, which causes excessive battery drain until the device is rebooted. This makes GPS very inconvenient to use
To reproduce
Steps to reproduce the behavior:
Expected behavior
GPS module should power off after use.
Additional context
It seems this should be handled by geoclue-hybris, at least by default. It does have cleanup procedures tied to clients (apps) disconnecting from dbus (eg. when they close).
For whatever reason, these cleanup methods are never called, and @MagneFire has suggested that this is linked with AsteroidOS/asteroid-launcher#163 - the proposed explanation is: since the app crashes without properly disconnecting from geoclue-hybris, geoclue-hybris is not made aware that the GPS module is no longer needed and doesn't run the cleanup procedure.
The text was updated successfully, but these errors were encountered: