Repository navigation
Update power sensor API docs: GetBatteryPercent and GetProperties (TypeScript) - #5585
Open
Shannon Bradshaw (shannonbradshaw) wants to merge 1 commit into
Open
Shannon Bradshaw (shannonbradshaw) wants to merge 1 commit into
Shannon Bradshaw (shannonbradshaw) wants to merge 1 commit into
Conversation
…ence viam-typescript-sdk#1058 (released in v0.79.1) adds PowerSensorClient getBatteryPercent and getProperties for the PowerSensorService RPCs from api#950. Fill the TypeScript column only: the Go (rdk#6827), Python (viam-python-sdk#1311) and Flutter (viam-flutter-sdk#586) implementations are not in a published release yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nja2XmSjwDPiySV93hN9Ho
Shannon Bradshaw (shannonbradshaw)
requested a review
from a team
as a code owner
November 24, 2026 09:19
Shannon Bradshaw (shannonbradshaw)
requested review from
Jeremy Rose (jeremyrose-viam)
and removed request for
a team
November 24, 2026 09:19
✅ Deploy Preview for viam-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Source changes
GetBatteryPercentandGetProperties(is_battery_percent_supported) toPowerSensorServicePowerSensorClient.getBatteryPercentandgetProperties, released in v0.79.1 (git tag --contains 8536961→v0.79.1) and live on ts.viam.devDocuments: no ticket key found (none of api#950, rdk#6827 or viam-typescript-sdk#1058 names a ticket)
Docs changes
.github/workflows/sdk_protos_map.csv: addpower_sensorrows forGetBatteryPercentandGetProperties, with only the TypeScript column filled.static/include/components/apis/overrides/protos/power_sensor.GetBatteryPercent.md,power_sensor.GetProperties.md: new one-sentence proto descriptions, taken from the proto comments.static/include/components/apis/generated/power_sensor.md,power_sensor-table.md: regenerated withupdate_sdk_methods.py "" power_sensor. The diff adds only the two new methods' TypeScript tabs and table rows; no other hunk changed.The other SDKs are left out on purpose, because their implementations aren't in a published release yet:
BatteryPercent,Properties) is not in RDK v1.17.0.get_battery_percent,get_properties) is not in v0.85.2.batteryPercent,properties) is not in v0.24.0. flutter.viam.dev already shows them (the generator warned they are unused), but no release has them.Their columns get filled when each ships.
How I found these
api-2d31425-power-sensor-battery-percent-gap, whose gate (a published SDK release that implements the methods) cleared for TypeScript with v0.79.1 on 2026-11-23.frontmatter_rules.py, andmake build-prodpass. Prettier and markdownlint don't coverstatic/.Generated by daily docs change agent
Generated by Claude Code