[CrOS Settings] Fix current battery Idle Setting
Recently an additional dropdown has been added to allow setting battery idle behavior differently from AC idle behavior. This setting is visible only when battery is present and is hidden behind a dom-if template. For some reason setting a value property on select HTML element that is under dom-if does not work properly. But setting selected boolean property on the option HTML element seem to work fine. Thus changing to setting the selected boolean property on option HTM element. BUG=b:148105990, 1065050, b:154167105 Test= Run browser_tests and manual tests. Change-Id: I83aeb7cd8640c4774853dcdd30f5acaf32ddd038 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2153604Reviewed-by:Kyle Horimoto <khorimoto@chromium.org> Commit-Queue: Ravi Chandra Sadineni <ravisadineni@chromium.org> Cr-Commit-Position: refs/heads/master@{#760234}
Showing
Please register or sign in to comment