Description
Description
I've noticed a pattern where many users experiencing a bug have low battery levels, and are not charging. I suspect they might also be in low power mode, which is limiting performance, and causing this certain types of bugs to manifest. But I don't have a way of confirming that with the current data available.
Describe the solution you'd like
Along side the batteryLevel
& charging
device status that is automatically logged by your SDK, I'd like a isLowPowerModeEnabled
value to be logged with a true
/false
value (or something with similar name/value).
Getting access to this data is simple ProcessInfo.processInfo.isLowPowerModeEnabled
.
https://www.hackingwithswift.com/example-code/system/how-to-detect-low-power-mode-is-enabled
Describe alternatives you've considered
I have started logging this as part of our app's metadata in the bug reports. But it would be nice for it to be done by yall's SDK, so that apps don't have to manually add it.