We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b73159f commit 1af29a6Copy full SHA for 1af29a6
drivers/acpi/cmbatt/cmbpnp.c
@@ -680,6 +680,11 @@ CmBattAddBattery(IN PDRIVER_OBJECT DriverObject,
680
FdoExtension->InterruptTime = KeQueryInterruptTime();
681
FdoExtension->TripPointSet = CmBattSetTripPoint(FdoExtension, 0) !=
682
STATUS_OBJECT_NAME_NOT_FOUND;
683
+ if (!FdoExtension->TripPointSet)
684
+ {
685
+ DbgPrint("**** Battery ID 0x%x (PDO: 0x%p, FDO: 0x%p) doesn't support _BTP method\n",
686
+ FdoExtension->DeviceId, DeviceObject, FdoDeviceObject);
687
+ }
688
689
/* Setup the battery miniport information structure */
690
RtlZeroMemory(&MiniportInfo, sizeof(MiniportInfo));
0 commit comments