{"id":175,"date":"2017-01-09T12:24:23","date_gmt":"2017-01-09T12:24:23","guid":{"rendered":"http:\/\/info.ffteixeira.net\/2017\/01\/09\/linux-laptop-power-tuning-with-powertop\/"},"modified":"2017-01-09T12:24:23","modified_gmt":"2017-01-09T12:24:23","slug":"linux-laptop-power-tuning-with-powertop","status":"publish","type":"post","link":"https:\/\/blog.ffteixeira.net\/?p=175","title":{"rendered":"Linux Laptop Power Tuning with Powertop"},"content":{"rendered":"<p>There&rsquo;s an easy way to reduce power usage on Linux laptops using Intel&rsquo;s <a href=\"https:\/\/01.org\/powertop\" target=\"_blank\" rel=\"noopener noreferrer\">Powertop<\/a> utility.<\/p>\n<p>Powertop polls your existing power usage and recommends tunings for your hardware. I&rsquo;ll show you how to quickly make the most of your battery life using this tool as well as tuned and cpufreq.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration:underline\"><strong>Install Powertop<\/strong><\/span><br \/>I&rsquo;m using Fedora for these examples, but most distributions will have this available &ndash; adjust as needed.<\/p>\n<pre>\ndnf install powertop -y<\/pre>\n<p><span style=\"text-decoration:underline\"><strong>Note Normal Pre-tune Power Usage<\/strong><\/span><br \/>Run powertop to see normal power usage, make sure you <strong>are not connected<\/strong> to a power source.<\/p>\n<pre>\npowertop<\/pre>\n<p><a href=\"https:\/\/hobosource.files.wordpress.com\/2015\/12\/powertop-manual.png\" rel=\"attachment wp-att-806\"><img loading=\"lazy\" decoding=\"async\" alt=\"powertop-manual\" class=\"alignnone size-large wp-image-806\" data-attachment-id=\"806\" data-comments-opened=\"1\" data-image-description=\"\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"powertop-manual\" data-large-file=\"https:\/\/hobosource.files.wordpress.com\/2015\/12\/powertop-manual.png?w=640&amp;h=255\" data-medium-file=\"https:\/\/hobosource.files.wordpress.com\/2015\/12\/powertop-manual.png?w=300\" data-orig-file=\"https:\/\/hobosource.files.wordpress.com\/2015\/12\/powertop-manual.png\" data-orig-size=\"1039,414\" data-permalink=\"https:\/\/hobo.house\/2015\/12\/18\/linux-laptop-power-usage-tuning-with-powertop\/powertop-manual\/\" height=\"255\" src=\"https:\/\/hobosource.files.wordpress.com\/2015\/12\/powertop-manual.png?w=640&amp;h=255\" width=\"640\" \/><\/a><\/p>\n<p><span style=\"text-decoration:underline\"><strong>Poll Usage and Record<\/strong><\/span><br \/>Next you&rsquo;ll want to run powertop with the &ndash;calibrate and &ndash;html flag while <strong>not connected<\/strong> to a power source. Note that &ndash;calibrate will <strong>disconnect you<\/strong> from wifi temporarily and you might see some screen flickering.<\/p>\n<pre>\npowertop --calibrate<\/pre>\n<pre>\npowertop --html<\/pre>\n<p>You&rsquo;ll see some output like below, when it&rsquo;s completed you&rsquo;ll have a <em>powertop.html<\/em> file wherever you ran the program.<\/p>\n<pre>\nLoaded 750 prior measurements\n RAPL device for cpu 0\n RAPL Using PowerCap Sysfs : Domain Mask f\n RAPL device for cpu 0\n RAPL Using PowerCap Sysfs : Domain Mask f\n RAPL device for cpu 0\n RAPL Using PowerCap Sysfs : Domain Mask f\n Devfreq not enabled\n Preparing to take measurements\n unknown op &#039;{&#039;\n Taking 1 measurement(s) for a duration of 20 second(s) each.\n PowerTOP outputing using base filename powertop.html<\/pre>\n<p><span style=\"text-decoration:underline\"><strong>Output and Recommendations<\/strong><\/span><br \/>Point a browser to the powertop.html file and you&rsquo;ll see things like status, power usage, processes using the most power and lastly tuning. The tuning tab is what we&rsquo;ll focus on.<\/p>\n<p><a href=\"https:\/\/hobosource.files.wordpress.com\/2015\/12\/powertop.png\" rel=\"attachment wp-att-797\"><img loading=\"lazy\" decoding=\"async\" alt=\"powertop\" class=\"alignnone size-large wp-image-797\" data-attachment-id=\"797\" data-comments-opened=\"1\" data-image-description=\"\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"powertop\" data-large-file=\"https:\/\/hobosource.files.wordpress.com\/2015\/12\/powertop.png?w=640&amp;h=227\" data-medium-file=\"https:\/\/hobosource.files.wordpress.com\/2015\/12\/powertop.png?w=300\" data-orig-file=\"https:\/\/hobosource.files.wordpress.com\/2015\/12\/powertop.png\" data-orig-size=\"1289,457\" data-permalink=\"https:\/\/hobo.house\/2015\/12\/18\/linux-laptop-power-usage-tuning-with-powertop\/powertop\/\" height=\"227\" src=\"https:\/\/hobosource.files.wordpress.com\/2015\/12\/powertop.png?w=640&amp;h=227\" width=\"640\" \/><\/a><\/p>\n<p><a href=\"https:\/\/hobosource.files.wordpress.com\/2015\/12\/powertop-untuned.png\" rel=\"attachment wp-att-799\"><img loading=\"lazy\" decoding=\"async\" alt=\"powertop-untuned\" class=\"alignnone size-large wp-image-799\" data-attachment-id=\"799\" data-comments-opened=\"1\" data-image-description=\"\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"powertop-untuned\" data-large-file=\"https:\/\/hobosource.files.wordpress.com\/2015\/12\/powertop-untuned.png?w=640&amp;h=327\" data-medium-file=\"https:\/\/hobosource.files.wordpress.com\/2015\/12\/powertop-untuned.png?w=300\" data-orig-file=\"https:\/\/hobosource.files.wordpress.com\/2015\/12\/powertop-untuned.png\" data-orig-size=\"1134,579\" data-permalink=\"https:\/\/hobo.house\/2015\/12\/18\/linux-laptop-power-usage-tuning-with-powertop\/powertop-untuned\/\" height=\"327\" src=\"https:\/\/hobosource.files.wordpress.com\/2015\/12\/powertop-untuned.png?w=640&amp;h=327\" width=\"640\" \/><\/a><\/p>\n<p><span style=\"text-decoration:underline\"><strong>Apply Tuning Recommendations<\/strong><\/span><br \/>There&rsquo;s several options you can pursue here. You can either manually copy\/paste the tuning recommendations from the generated HTML tunings above or you can use lynx and a bit of sed to spit them out and apply them all. Lastly, you can just set powertop to use the &ndash;auto-tune feature (though you&rsquo;ll need to run it at boot everytime). It&rsquo;s best to review them all prior.<\/p>\n<p><strong>Note:<\/strong> <em>you might want to forgo any USB suspend options if you use an external keyboard or mouse as USB is always slow to resume and this causes issues for some people.<\/em><\/p>\n<p><strong>Option #1 &ndash; Apply Tuning Recommendations Permanently<\/strong><\/p>\n<p>In this example I&rsquo;ll show all tunings in an easy, copy\/paste fashion to make the most of your time.<\/p>\n<p><span style=\"text-decoration:underline\">Convert HTML to TXT<\/span><\/p>\n<pre>\nlynx -dump -width 200 powertop.html &gt; powertop.txt<\/pre>\n<p><span style=\"text-decoration:underline\">Strip out Recommended Power Tunings<\/span><\/p>\n<pre>\ncat powertop.txt | sed &#039;s\/^.*echo\/echo\/&#039; | \\\nsed &#039;s\/^.*ethtool\/ethtool\/&#039; | egrep -B3 &quot;echo|ethtool|hdparm&quot; \\\n| egrep -v &quot;Software|Description|Script&quot; &gt; \/tmp\/tuning.txt<\/pre>\n<p>Now review what&rsquo;s been captured, you can paste these them all to apply them or choose individually as you prefer.<\/p>\n<pre>\ncat \/tmp\/tuning.txt | less<\/pre>\n<p>Note the tuning recommendations..<\/p>\n<pre>\necho &#039;1500&#039; &gt; &#039;\/proc\/sys\/vm\/dirty_writeback_centisecs&#039;;\necho &#039;1&#039; &gt; &#039;\/sys\/module\/snd_hda_intel\/parameters\/power_save&#039;;\necho &#039;0&#039; &gt; &#039;\/proc\/sys\/kernel\/nmi_watchdog&#039;;\necho &#039;auto&#039; &gt; &#039;\/sys\/bus\/i2c\/devices\/i2c-3\/device\/power\/control&#039;;\necho &#039;auto&#039; &gt; &#039;\/sys\/bus\/i2c\/devices\/i2c-4\/device\/power\/control&#039;;\necho &#039;auto&#039; &gt; &#039;\/sys\/bus\/i2c\/devices\/i2c-1\/device\/power\/control&#039;;\necho &#039;auto&#039; &gt; &#039;\/sys\/bus\/i2c\/devices\/i2c-2\/device\/power\/control&#039;;\necho &#039;auto&#039; &gt; &#039;\/sys\/bus\/i2c\/devices\/i2c-0\/device\/power\/control&#039;;\necho &#039;auto&#039; &gt; &#039;\/sys\/bus\/usb\/devices\/8-1\/power\/control&#039;;\necho &#039;auto&#039; &gt; &#039;\/sys\/bus\/usb\/devices\/3-2\/power\/control&#039;;\n-- snip --<\/pre>\n<p><strong>Review<\/strong> the tunings.<br \/>If you like how this looks, you can also make a script to apply it all instead of pasting it.<\/p>\n<pre>\necho &#039;#!\/bin\/bash&#039; &gt; \/tmp\/tuning.sh\ncat powertop.txt | sed &#039;s\/^.*echo\/echo\/&#039; | sed \\\n&#039;s\/^.*ethtool\/ethtool\/&#039; | egrep -B3 &quot;echo|ethtool|hdparm&quot; \\\n| egrep -v &quot;Software|Description|Script&quot; &gt;&gt; \/tmp\/tuning.sh<\/pre>\n<p><span style=\"text-decoration:underline\">Run the Script<\/span><\/p>\n<pre>\nchmod +x \/tmp\/tuning.sh\nsh \/tmp\/tuning.sh<\/pre>\n<p><strong>Option #2 &ndash; Auto Tune<\/strong><br \/>Powertop provides the option to simply apply all the recommended settings for you, but they will be lost on boot.<\/p>\n<pre>\npowertop --auto-tune<\/pre>\n<p><strong>Persist after boot<\/strong><br \/>You can use the following systemd unit file to simply make powertop a systemd-controlled service<\/p>\n<pre>\ncat &gt; \/etc\/systemd\/system\/powertop.service &lt;&lt; EOF\n[Unit]\nDescription=Powertop tunings\n\n[Service]\nType=idle\nExecStart=\/usr\/bin\/powertop --auto-tune\n\n[Install]\nWantedBy=multi-user.target\nEOF<\/pre>\n<pre>\nsystemctl enable powertop<\/pre>\n<p><span style=\"text-decoration:underline\"><strong>Running Powertop<\/strong><\/span><br \/>You can run powertop manually at any time to get a feeling for your battery usage. It might be a good idea to see before\/after improvement. For comparison I get an average of 6 to 8W of power usage under a normal workload on my Lenovo x240 running Fedora 22 on Kernel 4.2.7. I believe I average around 6-9W, down from 10-12W with no tuning &ndash; quite an improvement!<\/p>\n<p><a href=\"https:\/\/hobosource.files.wordpress.com\/2015\/12\/battery-best-10hr1.png\" rel=\"attachment wp-att-847\"><img loading=\"lazy\" decoding=\"async\" alt=\"battery-best-10hr\" class=\"alignnone size-large wp-image-847\" data-attachment-id=\"847\" data-comments-opened=\"1\" data-image-description=\"\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"battery-best-10hr\" data-large-file=\"https:\/\/hobosource.files.wordpress.com\/2015\/12\/battery-best-10hr1.png?w=640&amp;h=289\" data-medium-file=\"https:\/\/hobosource.files.wordpress.com\/2015\/12\/battery-best-10hr1.png?w=300\" data-orig-file=\"https:\/\/hobosource.files.wordpress.com\/2015\/12\/battery-best-10hr1.png\" data-orig-size=\"1044,471\" data-permalink=\"https:\/\/hobo.house\/2015\/12\/18\/linux-laptop-power-usage-tuning-with-powertop\/battery-best-10hr\/\" height=\"289\" src=\"https:\/\/hobosource.files.wordpress.com\/2015\/12\/battery-best-10hr1.png?w=640&amp;h=289\" width=\"640\" \/><\/a><\/p>\n<p><span style=\"text-decoration:underline\"><strong>Tuned: Further Savings<\/strong><\/span><br \/>You can also use a tuned profile to provide additional power management savings.<\/p>\n<p><span style=\"text-decoration:underline\">Install tuned and Profiles<\/span><\/p>\n<pre>\ndnf install tuned-profiles-compat tuned -y<\/pre>\n<p><span style=\"text-decoration:underline\">Enable Tuned and Set Profile<\/span><\/p>\n<pre>\nsystemctl enable tuned.service\nsystemctl start tuned.service\ntuned-adm profile laptop-battery-powersave<\/pre>\n<p>You can list other profiles available and see what works best, just &ldquo;powersave&rdquo; is good too.<\/p>\n<pre>\ntuned-adm list<\/pre>\n<p><span style=\"text-decoration:underline\">Alternative to tuned profiles<\/span> &ndash; there is also a command called <em>powertop2tuned<\/em> that will generate a tuned profile based directly on your powertop &ndash;html output, you can specify an existing html file or run it without options and it will create one. I just use the <em>laptop-battery-powersave<\/em> tuned profile instead. Below is an example where powertop-settings is the new tuned profile you&rsquo;d want to use.<\/p>\n<pre>\npowertop2tuned powertop-settings<\/pre>\n<pre>\nRunning PowerTOP, please wait...\nGenerating shell script \/etc\/tuned\/powertop-settings\/script.sh\nGenerating Tuned config file \/etc\/tuned\/powertop-settings\/tuned.conf<\/pre>\n<p>Now apply the tuned profile based on powertop settings, you&rsquo;d use what you named it above.<br \/>More info can be <a href=\"https:\/\/docs.fedoraproject.org\/ja-JP\/Fedora\/19\/html\/Power_Management_Guide\/sect-tuned-powertop2tuned.html\" target=\"_blank\" rel=\"noopener noreferrer\">found here.<\/a><\/p>\n<pre>\ntuned-adm profile powertop-settings<\/pre>\n<p><span style=\"text-decoration:underline\"><strong>Cpufreq &ndash; Further Tuning<\/strong><\/span><br \/>Lastly, you will want to enable cpufreq so you can have CPU frequency scale up and down based on demand &ndash; this will save a noticable amount of power basd on the <em>powersave<\/em> profile.<\/p>\n<p><span style=\"text-decoration:underline\">Install cpufreq-utils<\/span><\/p>\n<pre>\ndnf install cpufreq-utils -y<\/pre>\n<p><span style=\"text-decoration:underline\">Use Powersave Options<\/span><\/p>\n<pre>\ncpupower frequency-set -g powersave<\/pre>\n<p><span style=\"text-decoration:underline\">Check your settings<\/span><\/p>\n<pre>\ncpupower frequency-info<\/pre>\n<pre>\nanalyzing CPU 0:\n  driver: intel_pstate\n  CPUs which run at the same hardware frequency: 0\n  CPUs which need to have their frequency set by software: 0\n  maximum transition latency: 0.97 ms.\n  hardware limits: 800 MHz - 3.30 GHz\n  available cpufreq governors: performance, powersave\n  current policy: frequency should be within 800 MHz and 3.30 GHz.\n                  The governor &quot;powersave&quot; may decide speed to use\n                  within this range.\n  current CPU frequency is 800 MHz (asserted by call to hardware).\n  boost state support:\n    Supported: yes\n    Active: yes<\/pre>\n<p><span style=\"text-decoration:underline\"><strong>Kernel GPU Savings Options (<em><span style=\"color:#ff0000;text-decoration:underline\">NOTE<\/span> i915 chipset only<\/em>)<\/strong><\/span><br \/>I also use the following kernel options for my laptop, a Lenovo x240 using the <strong>Intel i915<\/strong> chipset. These settings won&rsquo;t work for everyone so research them before applying. If you&rsquo;re not sure skip over this part.<\/p>\n<ul>\n<li>file: \/etc\/default\/grub<\/li>\n<li>Note: this is a snippet, so make sure to <strong>append this only<\/strong> to your existing grub settings.<\/li>\n<\/ul>\n<pre>\n--snip append to your grub entry --\nGRUB_CMDLINE_LINUX=&quot;drm.debug=0 drm.vblankoffdelay=1 \ni915.semaphores=1 i915.modeset=1 i915.use_mmio_flip=1 \ni915.powersave=1 i915.enable_ips=1 i915.disable_power_well=1 \ni915.enable_hangcheck=1 i915.enable_cmd_parser=1 i915.fastboot=0 \ni915.enable_ppgtt=1 i915.reset=0 i915.lvds_use_ssc=0 \ni915.enable_psr=0 vblank_mode=0 i915.i915_enable_rc6=1&quot;\n--snip append to your grub entry --<\/pre>\n<p>Like usual, to apply grub changes run the following command and reboot:<\/p>\n<pre>\ngrub2-mkconfig -o \/boot\/grub2\/grub.cfg<\/pre>\n<p><span style=\"text-decoration:underline;color:#000000\"><strong>Additional <span style=\"color:#ff0000;text-decoration:underline\">i915 Only<\/span> Tunings (Lenovo x240 or similiar)<\/strong><\/span><br \/><span style=\"color:#000000\">You can also pre-blacklist some modules not really needed often and force some power savings i915 kernel module options like below. The<\/span><span style=\"color:#000000\">se seem to further help power savings for the GPU. Note some of these are duplicated in the above kernel boot options, but we&rsquo;ll force them anyways for modprobe as well for good measure.<\/span><\/p>\n<pre>\ncat &gt; \/etc\/modprobe.d\/x240-i915.conf &lt;&lt; EOF\noptions i915 i915_enable_rc6=1 i915_enable_fbc=1 lvds_downclock=1\noptions iwl_wifi power_save=1 power_level=3 bt_coex_active=0 11ndisable=1\n\nblacklist sierra_net\nblacklist cdc_mbim\nblacklist cdc_ncm\nblacklist btusb\nEOF<\/pre>\n<p><span style=\"text-decoration:underline\"><strong>Further Power Savings Tips<\/strong><\/span><br \/>In general the following tips apply to conserving battery:<\/p>\n<ul>\n<li>Don&rsquo;t use max brightness, this seems to usurp a lot of battery power.<\/li>\n<li>Unplug your laptop when it&rsquo;s fully charged, in general this prolongs the battery lifetime.<\/li>\n<li>Use a blank screensaver.<\/li>\n<li>Disable your ethernet kernel module if you don&rsquo;t use it often, I do this via rc.local:<\/li>\n<\/ul>\n<pre>\ntouch \/etc\/rc.d\/rc.local\necho &#039;#!\/bin\/bash&#039; &gt;&gt; \/etc\/rc.d\/rc.local\nchmod +x \/etc\/rc.d\/rc.local\necho &#039;rmmod e1000e&#039; &gt;&gt; \/etc\/rc.local\nsystemctl enable rc-local.service<\/pre>\n<ul>\n<li>Think about using <a href=\"https:\/\/hobo.house\/2015\/08\/07\/linux-hybrid-suspend-laptop\/\" target=\"_blank\" rel=\"noopener noreferrer\">my hybrid suspend on Linux guide<\/a>.<\/li>\n<\/ul>\n<p><span style=\"text-decoration:underline\"><strong>TLP<\/strong><\/span><br \/>Some readers <a href=\"https:\/\/www.reddit.com\/r\/linux\/comments\/3xedi7\/linux_laptop_power_savingstuning_guide\/\" target=\"_blank\" rel=\"noopener noreferrer\">over at the r\/linux subreddit<\/a> have pointed out that <a href=\"https:\/\/wiki.archlinux.org\/index.php\/TLP\" target=\"_blank\" rel=\"noopener noreferrer\">TLP<\/a> is a good alternative tool to, or to be used in conjunction with powertop. I&rsquo;ve not tried it yet, being happy with my power savings from the above approach but please post in comments if you have any suggestions and I&rsquo;m happy to merge them here. Both TLP and powertop will make the same settings, but I prefer to use the powertop approach as it&rsquo;s usually best to understand\/review everything you&rsquo;re changing before making any changes to the system.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/hobo.house\/2015\/12\/18\/linux-laptop-power-usage-tuning-with-powertop\/\" target=\"_blank\" rel=\"noopener noreferrer\">Credits<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There&rsquo;s an easy way to reduce power usage on Linux laptops using Intel&rsquo;s Powertop utility. Powertop polls your existing power usage and recommends tunings for your hardware. I&rsquo;ll show you how to quickly make the most of your battery life &hellip; <a href=\"https:\/\/blog.ffteixeira.net\/?p=175\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-175","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts\/175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=175"}],"version-history":[{"count":0,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts\/175\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}