diff --git a/drivers/bus/acpi/cmbatt/cmbatt.c b/drivers/bus/acpi/cmbatt/cmbatt.c index 09d9c81d8371d..0a8ee7ff27836 100644 --- a/drivers/bus/acpi/cmbatt/cmbatt.c +++ b/drivers/bus/acpi/cmbatt/cmbatt.c @@ -294,7 +294,7 @@ CmBattVerifyStaticInfo(PCMBATT_DEVICE_EXTENSION DeviceExtension, if (BifData.PowerUnit == 1) { - DPRINT1("FIXME: need to convert mAh into mWh\n"); + // DPRINT1("FIXME: need to convert mAh into mWh\n"); Info->DesignedCapacity = BATTERY_UNKNOWN_CAPACITY; Info->FullChargedCapacity = BATTERY_UNKNOWN_CAPACITY; Info->DefaultAlert1 = BATTERY_UNKNOWN_CAPACITY; diff --git a/ntoskrnl/po/batt.c b/ntoskrnl/po/batt.c index 88af0d1f51b28..cd6b2805ebe36 100644 --- a/ntoskrnl/po/batt.c +++ b/ntoskrnl/po/batt.c @@ -125,6 +125,7 @@ PopBatteryIrpCompletion( /* Copy the battery tag into the kernel structure */ Tag = *(PULONG)Irp->AssociatedIrp.SystemBuffer; DPRINT1("THE BATTERY TAG ISSSSS %lu\n", Tag); + DPRINT1("THE BATTERY TAG ISSSSS %lu\n", Tag); PopBattery->BatteryTag = Tag; /* The system now has a composite battery, take away the "no battery" flag */ @@ -501,7 +502,7 @@ PopCompositeBatteryHandler( (PopBattery->Flags & POP_CB_PENDING_NEW_BATTERY) || (PopBattery->Flags & POP_CB_RETRY_IO_REQUEST)) { - DPRINT1("Connect battery in progress, requesting battery tag (next mode -- POP_CB_READ_TAG_MODE)\n"); + // DPRINT1("Connect battery in progress, requesting battery tag (next mode -- POP_CB_READ_TAG_MODE)\n"); /* Setup the necessary lengths for the battery information to query */ InputBufferLength = sizeof(ULONG); @@ -527,7 +528,7 @@ PopCompositeBatteryHandler( */ if (PopBattery->PreviousMode == POP_CB_READ_TAG_MODE) { - DPRINT1("Querying battery information in progress (next mode -- POP_CB_QUERY_INFORMATION_MODE)\n"); + // DPRINT1("Querying battery information in progress (next mode -- POP_CB_QUERY_INFORMATION_MODE)\n"); /* The battery should have already processed this request */ POP_ASSERT_NO_BATTERY_REQUEST_MODE(); @@ -563,7 +564,7 @@ PopCompositeBatteryHandler( * We have gotten the required battery information in order * to read battery status. */ - DPRINT1("Querying battery status in progress (next mode -- POP_CB_QUERY_STATUS_MODE)\n"); + // DPRINT1("Querying battery status in progress (next mode -- POP_CB_QUERY_STATUS_MODE)\n"); /* The battery should have already processed this request */ POP_ASSERT_NO_BATTERY_REQUEST_MODE(); @@ -601,7 +602,7 @@ PopCompositeBatteryHandler( * is to query the estimated time of the battery after a successful * read of the battery status. */ - DPRINT1("Querying battery estimation time in progress (next mode -- POP_CB_QUERY_BATTERY_ESTIMATION_TIME_MODE)\n"); + // DPRINT1("Querying battery estimation time in progress (next mode -- POP_CB_QUERY_BATTERY_ESTIMATION_TIME_MODE)\n"); /* The battery should have already processed this request */ POP_ASSERT_NO_BATTERY_REQUEST_MODE(); @@ -630,7 +631,7 @@ PopCompositeBatteryHandler( * We have finally queried the battery estimation time, now we * have to repeat the operation by reading the battery status again. */ - DPRINT1("Battery estimation time queried, rolling back to read battery status (next mode -- POP_CB_QUERY_STATUS_MODE)\n"); + // DPRINT1("Battery estimation time queried, rolling back to read battery status (next mode -- POP_CB_QUERY_STATUS_MODE)\n"); /* The battery should have already processed this request */ POP_ASSERT_NO_BATTERY_REQUEST_MODE();