Green security: Energy saving and safety