Doc outlining how batteries are represented in the game #76065
Merged
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.
Summary
None
Purpose of change
With some recent battery overhauls and discussions around them, it's clear that there's enough confusion that a doc outlining how we handle batteries and power consumption is warranted.
Describe the solution
I sketched out some decisions about how batteries and power are handled and rationales for them.
Describe alternatives you've considered
Not doing so?
I don't think documenting specific items in a centralized doc is particularly helpful because something like "this is expected to be able to run for 4h" fits better in a comment in the item definition itself and maybe in a unit test that verifies it.
I'm sure there's more that could go in here, if people have tips for how to look up or otherwise determine device runtime or power draw that would be good to go in here.
This could also go in some other doc, but I didn't see anywhere I'd expect it to fit at a glance.