Implement charging mode
This is the initial implementation of the charging mode.
- The
charging-sdl
is packaged using the latest commit, a tagged version would be better. - Added
charging-sdl
andtriggerhappy
to theinitramfs-extra
- init script changes:
- Extracted common code to configure
directfb
andtslib
in a function - Check charging boot mode against a list of cmdline options
- Use the same font file configured for
osk-sdl
- Configure
triggerhappy
to startcharging-sdl
(if it's not already running) when the power key is pressed - Start
charging-sdl
once before startingtriggerhappy
(to show something instead of the loading splash screen)
- Extracted common code to configure
Please review the code and test it on some devices.
Close: #1081 (closed)