--- gnome-power-manager-3.0.0.orig/src/gpm-backlight.c	2011-03-14 19:21:24.000000000 +0800
+++ gnome-power-manager-3.0.0/src/gpm-backlight.c	2011-05-06 13:27:18.823484779 +0800
@@ -719,6 +719,10 @@
 static void
 gpm_backlight_init (GpmBacklight *backlight)
 {
+  GError *error = NULL;
+  guint value;
+  gboolean ret;
+
 	backlight->priv = GPM_BACKLIGHT_GET_PRIVATE (backlight);
 
 	/* record our idle time */
@@ -745,9 +749,14 @@
 
 	/* set the main brightness, this is designed to be updated if the user changes the
 	 * brightness so we can undim to the 'correct' value */
-	backlight->priv->master_percentage = g_settings_get_double (backlight->priv->settings, GPM_SETTINGS_BRIGHTNESS_AC) * 100.0f;
-
-	/* watch for brightness up and down buttons and also check lid state */
+  ret = gpm_backlight_get_brightness (backlight, &value, &error);
+	if (!ret) {
+    g_error ("failed to get value: %s", error->message);
+		g_error_free (error);
+	}
+	backlight->priv->master_percentage = value;
+	
+  /* watch for brightness up and down buttons and also check lid state */
 	backlight->priv->button = gpm_button_new ();
 	g_signal_connect (backlight->priv->button, "button-pressed",
 			  G_CALLBACK (gpm_backlight_button_pressed_cb), backlight);
