Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d193677e authored by Chris Ye's avatar Chris Ye
Browse files

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
parent 329808e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment