Patent ID: 7370217

Claim:
A method comprising: receiving a request on a platform having a battery mode to perform a write operation to a file system device; determining whether the file system device is activated or inactivated; if the file system device is determined to be activated, accessing the file system device to perform the requested write operation; and if the file system device is determined to be inactivated, buffering the write operation to physical memory, wherein accesses to the file system device are via a file system driver and requests to the file system driver are intercepted by an intermediate file system driver to receive user customized parameters and to receive file system requests, the intermediate file system driver to determine read/write policy for controlling access to the file system driver based on user customized parameters, wherein the user customized parameters identify whether a process is exempt from buffering, wherein the file system driver accesses the file system device in accordance with the read/write policy, and wherein the read/write policy is to maximize power saving while minimizing at least one of (a) unnecessary device access operations and (b) unnecessary device activation-deactivation operations, thereby extending battery life of the platform while minimizing adverse effects on performance and/or functionality of the platform.