ACPI 中文文档ACPI 中文文档
首页
第 1 章
第 2 章
第 3 章
第 4 章
第 5 章
第 6 章
第 7 章
第 8 章
第 9 章
第 10 章
第 11 章
第 12 章
第 13 章
第 14 章
第 15 章
第 16 章
第 17 章
第 18 章
第 19 章
第 20 章
第 21 章
附录 A
首页
第 1 章
第 2 章
第 3 章
第 4 章
第 5 章
第 6 章
第 7 章
第 8 章
第 9 章
第 10 章
第 11 章
第 12 章
第 13 章
第 14 章
第 15 章
第 16 章
第 17 章
第 18 章
第 19 章
第 20 章
第 21 章
附录 A
  • 第 10 章

    • 总览
    • 10.1. 智能电池子系统
    • 10.2. 控制方法电池
      • 10.2.1. 电池事件
      • 10.2.2. 电池控制方法
        • 10.2.2.1. _BCT(电池充电时间)
        • 10.2.2.2. _BIF(电池信息)
        • 10.2.2.3. _BIX(扩展电池信息)
        • 10.2.2.4. _BMA(电池测量平均间隔)
        • 10.2.2.5. _BMC(电池维护控制)
        • 10.2.2.6. _BMD(电池维护数据)
        • 10.2.2.7. _BMS(电池测量采样时间)
        • 10.2.2.8. _BPC(电池功率特性)
        • 10.2.2.9. _BPS(电池功率状态)
        • 10.2.2.10. _BPT(电池功率阈值)
        • 10.2.2.11. _BST(电池状态)
        • 10.2.2.12. _BTH(电池节流限制)
        • 10.2.2.13. _BTM(电池时间)
        • 10.2.2.14. _BTP(电池触发点)
        • 10.2.2.15. 控制方法电池的 _OSC 定义
    • 10.3. AC 适配器和电源对象
    • 10.4. 功率计
    • 10.5. 无线电源控制器
    • 10.6. 无线功率校准事件
    • 10.7. 示例:电源和电表命名空间

10.2.2.12. _BTH(电池节流限制)

此方法将把电池上设置的热节流限制传达给平台固件。

参数:

Arg0 - 一个 0 到 100 的整数,包含以百分比表示的电池热节流限制。在 100% 时,电池可以以最大电流充电。

返回值:

无。

注意:固件负责在进行充电时考虑当前热节流限制

示例:

Scope(\_SB.PCI0.ISA0) {
   Device(EC0) {
      Name(_HID, EISAID("PNP0C09"))                       // ID for this EC
      // current resource description for this EC
      Name(_CRS, ResourceTemplate() {
         IO(Decode16,0x62,0x62,0,1)
         IO(Decode16,0x66,0x66,0,1)
      })
      Name(_GPE, 0)                                       // GPE index for this EC
      // create EC's region and field for thermal support
      OperationRegion(EC0, EmbeddedControl, 0, 0xFF)
      Field(EC0, ByteAcc, Lock, Preserve) {
         TMP, 16,                                         // current temp
         PSV, 16,                                         // passive cooling temp
         BTH 16,                                          // battery charge rate limit
      }
      // following is a method that OSPM will schedule after
      // it receives an SCI and queries the EC to receive value 7
      Method(_Q07) {
         Notify (\_SB.PCI0.ISA0.EC0.TZ0, 0x80) }          // end of Notify method
                                                          // create a thermal zone
      ThermalZone (TZ0) {
         Method(_TMP) { Return (\_SB.PCI0.ISA0.EC0.TMP )} // get current temp
         Method(_PSV) { Return (\_SB.PCI0.ISA0.EC0.PSV) } // passive cooling temp
         Name(_TZD, Package (){\_SB.PCI0.ISA0.EC0.BAT0})  // passive cooling devices
         Name(_TC1, 4)                                    // bogus example constant
         Name(_TC2, 3)                                    // bogus example constant
         Name(_TSP, 150)                                  // passive sampling = 15 sec
      }                                                   // end of TZ0
      Device (BAT0) {
            Name(_HID, "PNP0C0A")
         Name(_UID, One)
         Method (_BTH, 0x1, NotSerialized) {
            Store(Arg0, \_SB.PCI0.ISA0.EC0.BTH)
               }
      // additional battery objects
      }
   }                                                      // end of ECO
}                                                         // end of \\_SB.PCI0.ISA0 scope
}                                                         // end of \\_SB scope
Prev
10.2.2.11. _BST(电池状态)
Next
10.2.2.13. _BTM(电池时间)