184bc634e6ae5790c2ccb2a5eaa483936f85439b
The previous implementation of this caused upower to select a thing called 'flash_strobe' in the L5, which doesn't operate like a flashlight. This changes the detection logic to look at the suffix, on the pinephone the device ends in ':flash', and on the L5 it ends in ':torch'. fixed #967
postmarketOS aports
Helpful resources:
Languages
Shell
95.8%
Python
2.5%
C
1.2%
Batchfile
0.3%
Jinja
0.2%