According to the code in AlarmSnoozeApplet.lua, pressing the Power
button should cancel the alarm including the snooze:

=======================================================
function notify_playerPower(self, player, power)
        if not player then
                return
        end
if player ~= self.localPlayer then
return
end
log:debug("notify_playerPower(): ", power)

-- turning power off while alarm is in progress always means
alarm should be cancelled
if not power then
                if self.alarmInProgress then
                        log:warn('Power turned off while alarm in progress. By 
design, turn
the alarm off')
                        self:_alarmOff(true)
                end
end
end


-- 
valley_nomad
------------------------------------------------------------------------
valley_nomad's Profile: http://forums.slimdevices.com/member.php?userid=41858
View this thread: http://forums.slimdevices.com/showthread.php?t=88308

_______________________________________________
Radio mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/radio

Reply via email to