0e141908e8b737dcc31e406323f1232d4030de3c
[pandora-libraries.git] / testdata / conf / eventmap
1
2 # Open Pandora
3 # Event-to-shscript map configuration
4
5 [keys]
6 a /usr/pandora/scripts/op_menu.sh
7 b /usr/pandora/scripts/op_menu.sh 3
8
9 [events]
10 lid-toggle      /usr/pandora/scripts/op_lidtoggle.sh
11
12 [pndevmapperd]
13 # logging level 0 means to include debug; level 1 (regular), 2 (warnings), 3 (errors)
14 loglevel        1
15 minimum_separation      1       # 1 second minimum between a single event repeating
16
17 [battery]
18 # for LED-blinking when battery gets low
19 threshold          10           # in %age; at x%, we go into blink-mode as warning
20 check_interval     7            # in seconds to check threshold; should be a high 300s
21 blink_interval     2            # frequency of blink
22 blink_duration     50000        # how long a blink lasts, in uSecs
23 shutdown_threshold 3            # battery %age we force a shutdown (to save the SD!)
24 shutdown_script    /usr/pandora/scripts/op_shutdown.sh