	- Add option to allow the keyboard/keypad backlight stay on as
	  long as the keyboard is open and the display is on
	- Find some way to make sure audio etc is disabled
	- Add callout from powerkey.c to handle unknown return values
	- Add support for phone style behaviour when [power] is pressed
	  in the device menu
	- module tests:
		- datapipe
		- mce-io
		  | Add a mainloop to support I/O-monitor testing fully
		  | Test error conditions
		  | (passing file == NULL, callback == NULL, invalid fd)
		- mce-gconf
		  | Needs a mainloop
		(- mce-dbus)
		(  | Needs a mainloop)


FIXME:
	- reimplement mce_set_mode with datapipes
	- cache both raw and cooked data in datapipes
	- add free-function to setup_datapipe and remove free_cache
	- datapipes does not handle cached pointed-to data properly
	- mce-modules needs to make use of the module_info
	  and via mcetool provide a mechanism to show module information


ACTIVITY:
	- Verify these values and path
	- Make activity sources configurable with path + values
	  instead of hardcoding them
	- XXX: All devices in /dev/input should be monitored for activity,
	  and the directory needs to be monitored for additions/removals
	  of devices
	v charger connected/disconnected
	v touchscreen
	v keyboard
	v slide
	v camera
	v flicker key
	/ battery cover
	  | /sys/devices/platform/gpio-switch/bat_cover/cover_switch
	/ device cover (770) (open but not close)
	  | /sys/devices/platform/gpio-switch/prot_shell/cover_switch
	/ USB cable (connect but not disconnect? -- configurable)
	  | /sys/devices/platform/gpio-switch/tahvo-usb/vbus_state
	/ jack sense (connect but not disconnect? -- configurable)
	  | /sys/devices/platform/gpio-switch/headphone/state (connected/disconnected)
	/ MMC cover
	  | /sys/devices/platform/gpio-switch/mmci-omap.2/cover_switch


CHECK:
	- Should we send the shutdown signals *before* we tell
	  dsme that we should shutdown?


HACKS:
	- Add options for enable/disable serial console, rd-mode,
	  and usb host-mode to powerkey menu
	- "Silent" tklock; no tklock UI, only disable touchscreen
	  and keypad (to allow mediaplayer to continue playing)


ABSTRACTION:
	- examine the logic in mce-dsme for DSME_DISPLAY_OFF


CONFIGURABILITY:
	- keyboard path
	- powerkey path
	- lowbat shutdown delay (5000-30000 seconds; default 5000)
	- splash delay ( milliseconds; default 500)
	- actdead delay ( milliseconds; default 1500)
	- powerup delay ( milliseconds; default 3500)
	- snooze timeout ( seconds; default 300)
	- timeout before shutdown on pending alarms ( seconds; default 300)


CONFIGURABILITY - SANITY CHECKS:
	- Check ranges for return values


BACKUP:
	- powerkeymenu should disable normal/offline mode
	- do we need a confirmation dialog for shutdown?


RELIABILITY:

o	- Make all file writes sync (fdatasync or open with O_SYNC)
          | Unless GIOChannel already provides this somehow?
o	- Check for superfluous D-Bus arguments


TESTING/TOOLS:

o mce
	- Add D-Bus interface to enable devicelock
	- Add D-Bus interface to disable devicelock (requires password)

o mcetool
	- check if MCE is running
	- set GConf brightness (1-5)
	- set GConf dim timeout (check list for valid values)
	- set GConf blank timeout (check list for valid values)
	- GConf tklock autolock (enable/disable)
	- GConf device autolock (enable/disable)
	- GConf device autolock timeout (check list for valid values)

	- MCE_DEVLOCK_VALIDATE_CODE_REQ
	- MCE_DEVLOCK_CHANGE_CODE_REQ
	- MCE_ALARM_MODE_CHANGE_REQ

	- add code to the torture tests to use xtest/xnee/?
	  to test the blocking SystemUI components

o mcetorture
	- fault injecting (invalid GConf data, stop systemui, alarmd, etc)
	- test cases involving GConf:
		device autolock enabled
		device autolock timeout
		tklock


DOCUMENTATION:

o manual page for mce.ini

o doxygen comments for the missing stuff in mcetool

o external and internal interfaces

o mode transition logic
	- states and transition triggers/actions in spec


CLEANUP:

o OPEN ISSUE: should we unref dbus-messages or not after an OOM?

o OPEN ISSUE: System settings & backup

o OPEN ISSUE: Failure cases for D-Bus, GConf, etc?

o Free iochan for dsme
