After invoking the startMonitoring method from DeviceActivityCenter, the App's background running time keeps increasing as observed in the phone's Settings-Battery, even after manually calling stopMonitoring. In some instances, the increase in duration can even surpass the phone's uptime. However, in reality, the app is not running, and even in the battery menu, the percentage of power consumption is very low. This is clearly a bug and may easily lead to misunderstandings among users.
This issue is easily reproducible on devices running iOS 16 and iOS 17.
Please fix this issue as soon as possible, thx