Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
gnome-power-manager
gnome-power-manager-trust-hal-critical-action.p...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-power-manager-trust-hal-critical-action.patch of Package gnome-power-manager
Index: gnome-power-manager-2.24.1/src/gpm-cell-array.c =================================================================== --- gnome-power-manager-2.24.1.orig/src/gpm-cell-array.c +++ gnome-power-manager-2.24.1/src/gpm-cell-array.c @@ -355,7 +355,8 @@ gpm_cell_array_update (GpmCellArray *cel * get an with batteries which have a very small charge unit and consequently * a very high charge. Fixes bug #327471 */ if (unit->kind == GPM_CELL_UNIT_KIND_PRIMARY && - unit->charge_current > 0 && unit->charge_last_full > 0) { + unit->charge_current > 0 && unit->charge_last_full > 0 && + unit->percentage > 1) { gfloat pc = 100.0f * ((gfloat)unit->charge_current / (gfloat)unit->charge_last_full); if (pc < 0.0f) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor