We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I make a Vehicle.battery() call I get a result like:
Vehicle.battery()
{ range: 156, percentRemaining: 0.75, meta: { dataAge: new Date('2023-01-25T17:04:35.844Z'), unitSystem: 'metric', requestId: '26c14915-0c26-43c5-8e42-9edfc2a66a0f', } }
If I only had 0.75% of battery remaining then it's almost completely empty and I wouldn't expect to have 156km range.
Am I correct in assuming that this value is a proportion rather than a percentage?
i.e. I should interpret this response as meaning 75% remaining?
(similarly the example in the docs shows 0.3 "percentRemaining" and still a range of 40.5 miles)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I make a
Vehicle.battery()
call I get a result like:If I only had 0.75% of battery remaining then it's almost completely empty and I wouldn't expect to have 156km range.
Am I correct in assuming that this value is a proportion rather than a percentage?
i.e. I should interpret this response as meaning 75% remaining?
(similarly the example in the docs shows 0.3 "percentRemaining" and still a range of 40.5 miles)
The text was updated successfully, but these errors were encountered: