The new version 0.3 is available on the repo. New features:
- Clock display (time and date, format based on locale setting)
- 24h, 12h, with or without seconds
- Black on color if light is on, color on black if light is off
- Battery indicator (bar indicating charge level, text indicating time left)
- Command-line options (use the flashlight from scripts)
- set initial flashlight settings (color, strobe, etc.)
- fade-in option, e.g. to use in an alarm clock, try a command line
like this one: flashlight -t1 -b1 --color=FFBB66 --fadein=60
(and meanwhile let your favorite music player fade-in some music)
- Auto backlight setting improved: uses less battery
In earlier versions, backlight was set equal to color value and the color was
always drawn as it is. E.g. RGB #FFFFFF (white) would set the backlight to
max, RGB #808080 (50% grey) would set backlight to 50%, etc. This was nice
and smooth, but it wastes battery power.
Now, the backlight is set as low as possible, changing the actual shown
color if needed. E.g. RGB #808080 is drawn as #FFFFFF with backlight at its
lowest setting. In general:
- Colors with value 100% are drawn exactly like before.
- Colors with value between 50% and 100% are now drawn as 100% value colors
with the backlight set somewhere between min and max.
- Colors with value below 50% always have backlight at minimum, and they
are drawn at twice their actual value.
Dimming is still nice and smooth, but darker colors now use less battery.
- Some minor changes:
- action button X/Y to change brightness quickly (5 times faster than dpad)
- U to set brightness to 50% (brightest color with lowest backlight setting)
- J to set brightness to 75% (= 50% backlight)