Skip to content

Keep accessory power#432

Merged
sethterashima merged 2 commits intoteslamotors:mainfrom
sethterashima:keep-accessory-power
Jan 16, 2026
Merged

Keep accessory power#432
sethterashima merged 2 commits intoteslamotors:mainfrom
sethterashima:keep-accessory-power

Conversation

@sethterashima
Copy link
Collaborator

Description

Please include a summary of the changes and the related issue.

Fixes #430

Type of change

Please select all options that apply to this change:

  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Bug fix (non-breaking change which fixes an issue)
  • Documentation update

Checklist:

Confirm you have completed the following steps:

  • My code follows the style of this project.
  • I have performed a self-review of my code.
  • I have made corresponding updates to the documentation.
  • I have added/updated unit tests to cover my changes.

@@ -0,0 +1,3 @@
#!/usr/bin/env bash

protoc --proto_path . --go_out . --go_opt=module=github.com/teslamotors/vehicle-command/pkg/protocol/protobuf ./*.proto
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: consider using makefile like https://github.com/teslamotors/fleet-telemetry/blob/main/Makefile#L74 to generate protos

})
}

// SetAccessoryPowerMode enables or disables accessory power mode. Phone chargers, USB ports, and
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SetKeepAccessoryPowerMode

Keep accessory power mode allows USB ports, etc., to remain on when no
driver is present.
docker run -v ./:/data plantuml/plantuml "doc"

.PHONY: install build linters test format set-version doc-images
proto-gen: $(PROTO_FILES)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update Readme.md?

@agbpatro
Copy link
Collaborator

@sethterashima sethterashima merged commit 2dd7c7b into teslamotors:main Jan 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support for keep accessory power on

4 participants