Skip to content

Instantly share code, notes, and snippets.

View harish2704's full-sized avatar

Harish Karumuthil harish2704

View GitHub Profile
@harish2704
harish2704 / dbus_handler.py
Last active April 21, 2018 09:17 — forked from darkxanter/dbus_handler.py
Python DBus handle hibernate, sleep and resume
View dbus_handler.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = 'xanter'
#from datetime import datetime
import signal
import time
import dbus
import gobject
import urllib2