# Default acpi script that takes an entry for all actions

set $*

case "$2" in
	BAT0)
		case "$3" in
			00000080)	logger "ACPI battery with $4 option laptop is unplugged of the AC Adapter"
				;;
			00000081)	logger "ACPI battery with $4 option laptop is plugged with the  AC Adapter"
				;;
			*)	logger "ACPI battery action $3 is not defined with times $4"
				;;
		esac
		;;

	*)
		logger "ACPI battery  group $2 / action $3 is not defined"
		;;
esac

