{"id":4404,"date":"2021-09-07T10:00:00","date_gmt":"2021-09-07T15:00:00","guid":{"rendered":"https:\/\/www.foell.org\/justin\/?p=4404"},"modified":"2022-11-28T08:49:10","modified_gmt":"2022-11-28T14:49:10","slug":"dell-xps-developer-edition-battery-puffed","status":"publish","type":"post","link":"https:\/\/www.foell.org\/justin\/dell-xps-developer-edition-battery-puffed\/","title":{"rendered":"Dell XPS Developer Edition Battery Puffed"},"content":{"rendered":"\n<p>Dude&#8230; you&#8217;re getting a Dell(?)!<\/p>\n\n\n\n<p>The last 4 laptops I&#8217;ve owned went like this:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>2004 &#8211; ThinkPad<\/li><li>2009 &#8211; Dell<\/li><li>2014 &#8211; ThinkPad<\/li><li>2019 &#8211; Dell<\/li><\/ul>\n\n\n\n<p>Whenever I had the Dells I would tell my wife: &#8220;Remind me to get a ThinkPad next time.&#8221; I wish I listened to my own advice. They&#8217;re well thought out &#8211; ThinkPads just get a little more love when it comes to design and build. While <a href=\"https:\/\/twitter.com\/justinfoell\/status\/947510625055494145\">they&#8217;re not without fault<\/a>, they are generally better than your average laptop. <\/p>\n\n\n\n<p>The Dell laptops I&#8217;ve owned have felt cheap and both have gone in for repairs. The good news is, Dell support is pretty good about fixing things. But I wish I didn&#8217;t have to send them in for repairs. Sidenote: my old ThinkPads have made for excellent <em>loaners<\/em> during repair periods. Dell really should be <em>cheap and cheerful<\/em>, but the whole experience leaves me feeling a bit &#8220;meh.&#8221;<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>The latest issue on my <a href=\"https:\/\/www.foell.org\/justin\/tag\/xps13\/\">2019 XPS 13<\/a> is that the keyboard appeared to be getting out of whack. I noticed the control and function keys were sitting at different angles.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.foell.org\/justin\/files\/2021\/08\/img_0361-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" data-attachment-id=\"4409\" data-permalink=\"https:\/\/www.foell.org\/justin\/dell-xps-developer-edition-battery-puffed\/img_0361\/\" data-orig-file=\"https:\/\/www.foell.org\/justin\/files\/2021\/08\/img_0361-scaled.jpg\" data-orig-size=\"2560,1920\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;1.8&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;iPhone SE (2nd generation)&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1630152662&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;3.99&quot;,&quot;iso&quot;:&quot;320&quot;,&quot;shutter_speed&quot;:&quot;0.020408163265306&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"img_0361\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/www.foell.org\/justin\/files\/2021\/08\/img_0361-1024x768.jpg\" src=\"https:\/\/www.foell.org\/justin\/files\/2021\/08\/img_0361-1024x768.jpg\" alt=\"\" class=\"wp-image-4409\" srcset=\"https:\/\/www.foell.org\/justin\/files\/2021\/08\/img_0361-1024x768.jpg 1024w, https:\/\/www.foell.org\/justin\/files\/2021\/08\/img_0361-300x225.jpg 300w, https:\/\/www.foell.org\/justin\/files\/2021\/08\/img_0361-768x576.jpg 768w, https:\/\/www.foell.org\/justin\/files\/2021\/08\/img_0361-1536x1152.jpg 1536w, https:\/\/www.foell.org\/justin\/files\/2021\/08\/img_0361-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Then I realized: my battery is puffed. I confirmed it when the lid wouldn&#8217;t close fully.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.foell.org\/justin\/files\/2021\/08\/img_0362-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" data-attachment-id=\"4410\" data-permalink=\"https:\/\/www.foell.org\/justin\/dell-xps-developer-edition-battery-puffed\/img_0362\/\" data-orig-file=\"https:\/\/www.foell.org\/justin\/files\/2021\/08\/img_0362-scaled.jpg\" data-orig-size=\"2560,1920\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;1.8&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;iPhone SE (2nd generation)&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1630152738&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;3.99&quot;,&quot;iso&quot;:&quot;125&quot;,&quot;shutter_speed&quot;:&quot;0.016666666666667&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"img_0362\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/www.foell.org\/justin\/files\/2021\/08\/img_0362-1024x768.jpg\" src=\"https:\/\/www.foell.org\/justin\/files\/2021\/08\/img_0362-1024x768.jpg\" alt=\"\" class=\"wp-image-4410\" srcset=\"https:\/\/www.foell.org\/justin\/files\/2021\/08\/img_0362-1024x768.jpg 1024w, https:\/\/www.foell.org\/justin\/files\/2021\/08\/img_0362-300x225.jpg 300w, https:\/\/www.foell.org\/justin\/files\/2021\/08\/img_0362-768x576.jpg 768w, https:\/\/www.foell.org\/justin\/files\/2021\/08\/img_0362-1536x1152.jpg 1536w, https:\/\/www.foell.org\/justin\/files\/2021\/08\/img_0362-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>After reflecting on the situation, I realized my laptop has spent the better part of 1.5 years (since COVID started) operating on AC power. Normally on my ThinkPad I&#8217;d use <a href=\"https:\/\/linrunner.de\/tlp\/\">TLP<\/a> to keep my normal battery charge at around 60-80%. But those features aren&#8217;t available on my XPS:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo tlp-stat\n...\n+++ Battery Features: Charge Thresholds and Recalibrate\nnatacpi    = inactive (laptop not supported)\ntpacpi-bat = inactive (laptop not supported)\ntp-smapi   = inactive (laptop not supported)\n...<\/code><\/pre>\n\n\n\n<p>Other TLP features (like disabling wifi when plugged into the wired network) do work on my XPS, so I leave it installed &amp; enabled. For battery management, you must use Dell&#8217;s own <a href=\"https:\/\/www.dell.com\/support\/home\/en-us\/drivers\/DriversDetails?driverId=3D4VV\">Command Configure<\/a> tool: <code>cctk<\/code><\/p>\n\n\n\n<p>There&#8217;s a great write-up on the <a href=\"https:\/\/wiki.archlinux.org\/title\/Dell_XPS_13_(7390)\">XPS 7390 over in the Arch Linux wiki<\/a>.<\/p>\n\n\n\n<p>So I set up <code>cctk<\/code> to keep my (new, now replaced) battery at 80%.<br><code>sudo crontab -l<\/code><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>...\n@reboot \/opt\/dell\/dcc\/cctk --PrimaryBattChargeCfg=Custom:75-80<\/code><\/pre>\n\n\n\n<p>And I have a shell script that I can run to bring the charge up to 100%:<br><code>vi ~\/bin\/full_charge.sh<\/code><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/sh\nsudo \/opt\/dell\/dcc\/cctk --PrimaryBattChargeCfg=Standard<\/code><\/pre>\n\n\n\n<p>Do yourself a favor &#8211; next time get a ThinkPad.<\/p>\n<div class='kindleWidget kindleLight' ><img decoding=\"async\" src=\"https:\/\/www.foell.org\/justin\/wp-content\/plugins\/send-to-kindle\/media\/white-15.png\" \/><span>Send to Kindle<\/span><\/div>","protected":false},"excerpt":{"rendered":"<p>Dude&#8230; you&#8217;re getting a Dell(?)! The last 4 laptops I&#8217;ve owned went like this: 2004 &#8211; ThinkPad 2009 &#8211; Dell 2014 &#8211; ThinkPad 2019 &#8211; Dell Whenever I had the Dells I would tell my wife: &#8220;Remind me to get a ThinkPad next time.&#8221; I wish I listened to my own advice. They&#8217;re well thought&hellip; <a href=\"https:\/\/www.foell.org\/justin\/dell-xps-developer-edition-battery-puffed\/\">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":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"My < 2yo Dell XPS battery is puffed \ud83d\ude12","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1,8],"tags":[164,193,166,168],"class_list":["post-4404","post","type-post","status-publish","format-standard","hentry","category-business","category-ubuntu","tag-dell","tag-fix-repair","tag-linux","tag-xps13"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/posts\/4404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/comments?post=4404"}],"version-history":[{"count":10,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/posts\/4404\/revisions"}],"predecessor-version":[{"id":4419,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/posts\/4404\/revisions\/4419"}],"wp:attachment":[{"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/media?parent=4404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/categories?post=4404"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/tags?post=4404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}