Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 291956
Collapse All | Expand All

(-)acpi.c (+3 lines)
Lines 303-308 Link Here
303
		state = value->value;
303
		state = value->value;
304
	    } else if (!strcmp(value->attr, "voltage_now")) {
304
	    } else if (!strcmp(value->attr, "voltage_now")) {
305
		voltage = get_unit_value(value->value) / 1000;
305
		voltage = get_unit_value(value->value) / 1000;
306
		if (voltage == 0 ) {
307
			voltage = -1;
308
		}
306
	    }
309
	    }
307
	    fields = list_next(fields);
310
	    fields = list_next(fields);
308
	}
311
	}

Return to bug 291956