power:added idle monitor with cgo flags