×

Methods for determining battery statistics using a system-wide daemon

  • US 8,375,236 B2
  • Filed: 08/04/2009
  • Issued: 02/12/2013
  • Est. Priority Date: 08/04/2009
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • collecting, by a power management daemon, operating status data of a battery of a data processing system by accessing at least one of firmware or hardware coupled to the battery, the power management daemon to provide the operating status data of the battery to a plurality of clients;

    computing, by the power management daemon, battery statistics based on the collected operating status data of the battery;

    determining a plurality of correction values, each of the plurality of correction values corresponding to an amount of battery charge remaining, and adjusting a remaining time of the battery based on the amount of battery charge remaining and the corresponding one of the plurality of correction values; and

    in response to a query received from one client of the plurality of clients via an application programming interface (API), the power management daemon returning the battery statistics and the one of the plurality of correction values corresponding to the amount of battery charge remaining to the one client to enable the one client to determine the remaining time of the battery until being recharged.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×