1

I want to use the refresh command on this here

But i do not know how to do it, please help.

  • I know that you are still tracking you battery refresh problem from your other questions, but such type of question is not useful for other users. Please make a look on https://askubuntu.com/help/how-to-ask – user.dz Jan 19 '16 at 14:07

1 Answers1

2

Here it is:

dbus-send --print-reply \
  --system \
  --dest=org.freedesktop.UPower \
  /org/freedesktop/UPower/devices/battery_BAT0 \
  org.freedesktop.UPower.Device.Refresh

Output example:

method return time=1453211890.054932 sender=:1.55 -> destination=:1.209 serial=318 reply_serial=2

It is good to read little about DBus:

You can take a venture using d-feet tool :).

user.dz
  • 48,105