commit | d193677e001bcc630a5e3bf1da717e1b6321b569 | [log] [tgz] |
---|---|---|
author | Chris Ye <lzye@google.com> | Mon Feb 22 10:30:40 2021 -0800 |
committer | Chris Ye <lzye@google.com> | Wed Feb 24 20:46:09 2021 -0800 |
tree | 35027d94d6cc9147ae5a9790f2009a4f38552b3d | |
parent | 329808e195760ea0b1984b7878693da457837a55 [diff] |
Remove the trailing new line from output of sysfs capacity_level file. Some input device kernel driver populates capacity_level string with new line, need to trim it before looking it up. Bug: 180925649 Test: Manual test with Nintendo Switch Pro controller Change-Id: Iae1744075c56ad7f95060d07bfe9f254e1a5f3dc