summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/kbl-u/acpi/battery.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/system76/kbl-u/acpi/battery.asl')
-rw-r--r--src/mainboard/system76/kbl-u/acpi/battery.asl18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mainboard/system76/kbl-u/acpi/battery.asl b/src/mainboard/system76/kbl-u/acpi/battery.asl
index ec1ef31265..48cd4f1828 100644
--- a/src/mainboard/system76/kbl-u/acpi/battery.asl
+++ b/src/mainboard/system76/kbl-u/acpi/battery.asl
@@ -3,12 +3,12 @@
Device (BAT0)
{
Name (_HID, EisaId ("PNP0C0A") /* Control Method Battery */) // _HID: Hardware ID
- Name (_UID, Zero) // _UID: Unique ID
+ Name (_UID, 0) // _UID: Unique ID
Name (_PCL, Package (0x01) // _PCL: Power Consumer List
{
_SB
})
- Name (BFCC, Zero)
+ Name (BFCC, 0)
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (^^PCI0.LPCB.EC0.ECOK)
@@ -35,8 +35,8 @@ Device (BAT0)
0xFFFFFFFF, // 2 - Last Full Charge Capacity
1, // 3 - Battery Technology
0x39D0, // 4 - Design Voltage
- Zero, // 5 - Design Capacity of Warning
- Zero, // 6 - Design Capacity of Low
+ 0, // 5 - Design Capacity of Warning
+ 0, // 6 - Design Capacity of Low
0x40, // 7 - Battery Capacity Granularity 1
0x40, // 8 - Battery Capacity Granularity 2
"BAT", // 9 - Model Number
@@ -53,7 +53,7 @@ Device (BAT0)
PBIF [10] = " "
PBIF [11] = " "
PBIF [12] = " "
- BFCC = Zero
+ BFCC = 0
}
Method (UPBI, 0, NotSerialized)
@@ -98,14 +98,14 @@ Device (BAT0)
Name (PBST, Package (0x04)
{
- Zero, // 0 - Battery state
+ 0, // 0 - Battery state
0xFFFFFFFF, // 1 - Battery present rate
0xFFFFFFFF, // 2 - Battery remaining capacity
0x3D90 // 3 - Battery present voltage
})
Method (IVBS, 0, NotSerialized)
{
- PBST [0] = Zero
+ PBST [0] = 0
PBST [1] = 0xFFFFFFFF
PBST [2] = 0xFFFFFFFF
PBST [3] = 0x2710
@@ -115,8 +115,8 @@ Device (BAT0)
{
If (^^PCI0.LPCB.EC0.BAT0)
{
- Local0 = Zero
- Local1 = Zero
+ Local0 = 0
+ Local1 = 0
If (^^AC.ACFG)
{
If (((^^PCI0.LPCB.EC0.BST0 & 0x02) == 0x02))