You'll notice the action on touch message:
Charging Notification (295)
Abort Existing Task
A1: AutoNotification [ Configuration:Title: Battery Level
Ticker: Battery: %BATT
Action on Touch: batterysettings
Status Bar Icon: ic_lock_idle_charging
Id: Batt
Priority: -2
Number: %BATT
Max Progress: 100
Progress: %BATT Package:com.joaomgcd.autonotification Name:AutoNotification Timeout (Seconds):0 ]
A2: Variable Set [ Name:%Batt To:%BATT Do Maths:Off Append:Off ]
This message is used in this way to create AutoNotification buttons...
Profile: Battery Settings (182)
State: AutoNotification [ Configuration:batterysettings (exact) ]
Enter: Battery Setting (169)
A1: Battery Info
Hope that gives you a better understanding how it works. Let me know if you have questions!