|
@@ -1429,7 +1429,7 @@ static int __wacom_initialize_battery(struct wacom *wacom,
|
|
bat_desc->get_property = wacom_battery_get_property;
|
|
bat_desc->get_property = wacom_battery_get_property;
|
|
sprintf(battery->bat_name, "wacom_battery_%ld", n);
|
|
sprintf(battery->bat_name, "wacom_battery_%ld", n);
|
|
bat_desc->name = battery->bat_name;
|
|
bat_desc->name = battery->bat_name;
|
|
- bat_desc->type = POWER_SUPPLY_TYPE_BATTERY;
|
|
|
|
|
|
+ bat_desc->type = POWER_SUPPLY_TYPE_USB;
|
|
bat_desc->use_for_apm = 0;
|
|
bat_desc->use_for_apm = 0;
|
|
|
|
|
|
ac_desc->properties = wacom_ac_props;
|
|
ac_desc->properties = wacom_ac_props;
|