Posts

How to Stop Battery Charging at 80% on RHEL/Rocky Linux

  Keeping your laptop battery charged at 100% all the time can slowly reduce its lifespan. If you use Rocky Linux and want to stop charging at 80% (a commonly recommended limit), this guide walks you through everything step by step in a beginner-friendly way. Why Limit Battery Charging to 80%? Modern laptops use lithium-ion batteries , which age faster when: They are kept at 100% charge for long periods The laptop stays plugged in all day By limiting charging to around 80% , you can: Reduce battery wear Extend battery lifespan Keep the battery healthier over the long term This is especially useful for office users and people who mostly work while plugged in. Step 1: Check If Your Laptop Supports Charge Limiting Battery charge limiting depends on hardware support . Many business-class laptops support it, but not all. Run the following command: ls /sys/class/power_supply/BAT0/ If you see files like: charge_control_end_threshold charge_control_start_threshold ✅ Your laptop support...

Create a Bridge interface on Linux Host running RHEL/Rocky Linux

  (base) [root@t480s ~]# nmcli device status DEVICE           TYPE      STATE                   CONNECTION   wlp61s0          wifi      connected               HUAWEI-HOME  enp0s31f6        ethernet  connected               enp0s31f6    docker0          bridge    connected (externally)  docker0      lo               loopback  connected (externally)  lo           virbr0           bridge    connected (externally)  virbr0       p2p-dev-wlp61s0  wifi-p2p  disconnected            --  ...

Mount NTFS formatted drive on RHEL

  (base) [root@t480s ~]# mount /dev/sdb1 /media mount: /media: unknown filesystem type 'ntfs'. (base) [root@t480s ~]# dnf install ntfs-3g Last metadata expiration check: 0:24:27 ago on Thursday 01 January 2026 09:24:58 AM. Dependencies resolved. ===========================================================================================================================================================  Package                                Architecture                     Version                                      Repository                      Size =====================================================================================================================================================...