Use consistent Wifi-only checking

Use the same checkWifiOnly method in BatteryUsageStatsProvider and other
battery stats logic.

Bug: 174436414
Test: atest
Change-Id: I6ae21c579a063c3dd65726620b7a6c9e9f09a957
1 file changed