Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log if low power mode is enabled as part of the device info #1690

Open
amayers opened this issue Aug 15, 2024 · 1 comment
Open

Log if low power mode is enabled as part of the device info #1690

amayers opened this issue Aug 15, 2024 · 1 comment
Labels
backlog We hope to fix this feature/bug in the future

Comments

@amayers
Copy link

amayers commented Aug 15, 2024

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.

@hannah-smartbear
Copy link

Hi @amayers,

Thanks for raising this.

I have passed this on to our product team who have added an item to our backlog to include whether low power mode is enabled as automatically captured data. We don't have an ETA for when this will be implemented, but we will let you know of any updates.

@hannah-smartbear hannah-smartbear added the backlog We hope to fix this feature/bug in the future label Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog We hope to fix this feature/bug in the future
Projects
None yet
Development

No branches or pull requests

2 participants