<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="margin:0;">hello,</div><div style="margin:0;">1 In the file power_control_obj.c£¬ there is the following program code</div><div style="margin:0;"><div style="margin:0;">```</div><div style="margin:0;">if (pgood_state == 0)</div><div style="margin:0;">             {</div><div style="margin:0;">                 control_power_emit_power_lost (control_power);</div><div style="margin:0;">                 g_pci_reset_held = 1;</div><div style="margin:0;">             }</div><div style="margin:0;">             else</div><div style="margin:0;">             {</div><div style="margin:0;">                 control_power_emit_power_good (control_power);</div><div style="margin:0;">             }</div><div style="margin:0;">}</div><div style="margin:0;">```</div></div><div style="margin:0;">Is this the code that notifies the hardware power status? If yes, to whom did it notify; if not, what is it used for?</div><div style="margin:0;">2 In function </div><div style="margin:0;">```</div><div style="margin:0;">static gboolean on_set_power_state (ControlPower * pwr,</div><div style="margin:0;">         GDBusMethodInvocation * invocation,</div><div style="margin:0;">         guint state,</div><div style="margin:0;">         gpointer user_data)</div><div style="margin:0;">```</div><div style="margin:0;">No matter whether I set the power-on command or the power-off command, the parameter state is always 0. Is there any problem here?</div><div style="margin:0;"><div style="margin: 0px;"><span style="color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";">Regards,</span></div><div style="margin: 0px;"><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji">Garnet</font></div></div><div style="margin:0;"><br></div><div style="margin:0;"><br></div></div>