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
Loading
Please register or sign in to comment