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

feat: move battery info out of Device.getInfo #2311

Closed
jcesarmobile opened this issue Jan 9, 2020 · 1 comment · Fixed by #2435
Closed

feat: move battery info out of Device.getInfo #2311

jcesarmobile opened this issue Jan 9, 2020 · 1 comment · Fixed by #2435

Comments

@jcesarmobile
Copy link
Member

Device.getInfo provides among other things, the battery level and if it's charging.

Since this is not essential device information and have caused problems on chrome 76-78 in the past , I think it would be good to move that information from getInfo to getBatteryInfo.

It's a breaking change, so should be done as part of Capacitor 2.0

@jcesarmobile jcesarmobile added this to the 2.0.0 milestone Jan 9, 2020
@jcesarmobile jcesarmobile added the needs discussion decisions must be made before working on it label Jan 23, 2020
@jcesarmobile jcesarmobile added priority: high and removed needs discussion decisions must be made before working on it labels Feb 4, 2020
@ionitron-bot
Copy link

ionitron-bot bot commented Nov 12, 2022

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant