ActivityWatch / aw-android

ActivityWatch for Android, using aw-server-rust as backend.
Mozilla Public License 2.0
174 stars 29 forks source link

fix: a lot of events that are stored show 0.0 duration (#39). #119

Open EvertJanDeBruin opened 2 months ago

EvertJanDeBruin commented 2 months ago

Note: I did not build unit-tests (yet) since this requires quite some restructuring. Also, some discussion is required regarding the 'unlock' bucket (it seems total screentime, where each event is an unlock, is perhaps better).


:rocket: This description was created by Ellipsis for commit b843e4563445065d489de8e76744719620ac3588

Summary:

Fixes event duration issue by updating Event and UsageStatsWatcher to handle app activity more accurately, ensuring correct heartbeat timing.

Key points:


Generated with :heart: by ellipsis.dev