1. A method comprising: defining a power management policy for a device plugged into a computing system; utilizing the defined power management policy to determine when the device enters a suspend mode; and once the device enters the suspend mode, allowing the computing system to enter a lower-power state, wherein the power management policy is defined through a plurality of routines provided by a generic user-mode library, the generic user-mode library being communicatively coupled to a kernel-mode generic device driver, wherein a separate generic device driver is loaded for each plugged-in device or for each functionality supported by the device.