Repository navigation
fix(#65): On battery, stream at caps PC and PS5 streams while unplugged - #90
Open
xservzeroman wants to merge 1 commit into
Open
xservzeroman wants to merge 1 commit into
xservzeroman wants to merge 1 commit into
Conversation
…ed (test237) BatteryCap reads hh_battery_res and the plugged state; Game caps prefConfig keeping the shape and compares fold sizes with the uncapped size; Ps5StreamActivity takes the lower preset. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Fixes #65: Settings, Handheld, "On battery, stream at" was saved (
hh_battery_res) but nothing read it.Changelog
home/BatteryCap.kt: the cap height when the setting isn't "same" andACTION_BATTERY_CHANGEDreportsEXTRA_PLUGGED == 0; otherwise 0.Game:readPreferences, keeping the aspect ratio with the width a multiple of 8 (Native 2448×1696 at 720 becomes 1040×720).sizeChanged()compares the screen with the uncapped size, so the fold refit doesn't reconnect a capped stream in a loop.Ps5StreamActivity: the preset is the lower of the chosen one and the cap.To test
adb shell dumpsys battery unplug), then start a PC game. The log should sayon battery: stream … capped to …. Plug in and it streams at the Picture setting again.🤖 Generated with Claude Code