Skip to content

WOA-Project/SurfaceBattery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Surface Duo (1st Generation) Battery Fuel Gauge Driver

Batteries

This driver is designed for the Texas Instrument bq27742-G1 Fuel Gauges found in the Surface Duo (1st Generation) flashed with Microsoft own Firmware. It may work on other devices using the same fuel gauge provided you remove the manufacturer block reading code.

This driver enables Windows to get information about both battery packs used in Surface Duo. It does not provide charging capabilities.

ACPI Sample

Device(BAT1)
{
    Name (_HID, "BQ27742")
    Name (_UID, 1)

    Name (_DEP, Package(0x1) {
        \_SB_.IC18
    })

    Method (_CRS, 0x0, NotSerialized) {
        Name (RBUF, ResourceTemplate () {
            I2CSerialBus(0x55,, 100000, AddressingMode7Bit, "\\_SB.IC18",,,,)
        })
        Return (RBUF)
    }
}

About

Fuel gauge drivers for Surface Duo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages