27 মার্চ, 2025 থেকে, আমরা AOSP তৈরি করতে এবং অবদান রাখতে aosp-main
এর পরিবর্তে android-latest-release
ব্যবহার করার পরামর্শ দিচ্ছি। আরও তথ্যের জন্য, AOSP-তে পরিবর্তনগুলি দেখুন।
ওভারভিউ
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
পাওয়ার ম্যানেজমেন্ট স্বয়ংচালিত অ্যাপ্লিকেশনগুলির জন্য গুরুত্বপূর্ণ, এবং পাওয়ারের প্রয়োজনীয়তাগুলি মোবাইল ডিভাইসগুলির থেকে ব্যাপকভাবে আলাদা, যার মধ্যে রয়েছে:
- গাড়িটি পার্ক করার সময় শূন্যের কাছাকাছি বিদ্যুৎ খরচ। অনেক মাস পরেও গাড়ির চালু হওয়ার জন্য যথেষ্ট ব্যাটারি চার্জ থাকা উচিত।
- রিয়ার-ভিউ ক্যামেরা, অডিও এবং স্প্ল্যাশ স্ক্রীনের জন্য অত্যন্ত দ্রুত পাওয়ার-অন প্রতিক্রিয়া (অ্যান্ড্রয়েড নিজেই বুট হওয়ার আগে)।
- অ্যান্ড্রয়েড হোম স্ক্রিনে দ্রুত বুট করুন যাতে ব্যবহারকারী ডিভাইসের সাথে ইন্টারঅ্যাক্ট করতে পারে।
- পাওয়ার সাইকেলের পরে অ্যাপ স্টেট (যেমন রেডিও স্টেশন এবং নেভিগেশন নির্দেশিকা) পুনরায় শুরু/পুনরুদ্ধার করুন।
অ্যান্ড্রয়েড অটোমোটিভ টিম একটি নতুন পাওয়ার ম্যানেজমেন্ট স্কিম সহ স্বয়ংচালিত-নির্দিষ্ট পাওয়ার ম্যানেজমেন্ট সমস্যাগুলির সমাধান করছে, যার মধ্যে রয়েছে:
- শক্তি নীতি । হার্ডওয়্যার এবং সফ্টওয়্যার উপাদানগুলি (যেমন ডিসপ্লে, অডিও এবং ভয়েস ইন্টারঅ্যাকশন) প্রয়োজন অনুসারে বেছে বেছে চালু এবং বন্ধ করা নিশ্চিত করতে শিখুন।
- শক্তি ব্যবস্থাপনা । অ্যান্ড্রয়েড অটোমোটিভ দ্বারা ব্যবহৃত পাওয়ার স্টেট মেশিনের সংজ্ঞা দেয়, ঘুম/শাটডাউন/ওয়েক সিকোয়েন্সের উদাহরণ প্রদান করে এবং পাওয়ার ম্যানেজমেন্ট সম্পর্কিত যানবাহনের HAL বৈশিষ্ট্যগুলি তালিকাভুক্ত করে।
- গ্যারেজ মোড । একটি কম পাওয়ার মোড সংজ্ঞায়িত করে যেখানে গাড়িটি পার্ক করার সময় প্রয়োজনীয় রক্ষণাবেক্ষণের কাজগুলি (যেমন OS এবং অ্যাপ আপডেট) সম্পাদন করে।
- বুট সময় পরিচালনা . অ্যান্ড্রয়েড এবং অ্যান্ড্রয়েড অটোমোটিভ বুট প্রক্রিয়ার মধ্যে পার্থক্য নির্ধারণ করে, বুট টাইম অপ্টিমাইজ করার জন্য টিপস প্রদান করে এবং বুট সিকোয়েন্সের প্রথম দিকে রিয়ার ভিউ ক্যামেরার মতো পরিষেবা শুরু করার নির্দেশনা দেয়।
হার্ডওয়্যার আর্কিটেকচার
নীচের চিত্রে চিত্রিত হিসাবে, যানবাহন মাইক্রোকন্ট্রোলার ইউনিট (VMCU):
গাড়ির পাওয়ার অফ হলে, AP নিম্নলিখিত অবস্থাগুলির মধ্যে একটিতে প্রবেশ করে:
ঘুম হয় যখন VMCU তাৎক্ষণিক জেগে ওঠার জন্য AP এর প্রধান শক্তি ধরে রাখার সিদ্ধান্ত নেয়। সাধারণত, একটি জেগে ওঠার সংকেত GPIO এর মাধ্যমে AP-তে পাঠানো হবে।
হাইবারনেশন ঘটে যখন VMCU মূল শক্তি কাটার সময় মেমরি বিষয়বস্তু রাখার সিদ্ধান্ত নেয়। সাধারণত, AP পরবর্তী পাওয়ার অন হলে সংরক্ষিত মেমরি বিষয়বস্তু লোড করে।
VMCU ব্যাটারি রিজার্ভ করার সিদ্ধান্ত নিলে শাটডাউন ঘটে। পরবর্তী পাওয়ার চালু হলে এপিকে অবশ্যই কোল্ড বুট করতে হবে।
VMCU-AP ডেটা বাসটি অবশ্যই একটি দ্বিমুখী ইন্টারফেস হতে হবে যেমন সিরিয়াল পেরিফেরাল ইন্টারফেস (SPI), এবং অবশ্যই যানবাহন HAL-এ উন্মুক্ত হতে হবে। এটি ইভেন্ট পাঠাতে ব্যবহার করা যেতে পারে যেমন:
- AP প্রদর্শন চালু বা বন্ধ।
- AP ওয়েক-আপ (GPIO এর মাধ্যমে ঘটতে পারে)।
- AP রিয়ার-ভিউ ক্যামেরা ডিসপ্লে চালু বা বন্ধ।
- AP শাট-ডাউন সম্পূর্ণ (VMCU তে)।
এই পৃষ্ঠার কন্টেন্ট ও কোডের নমুনাগুলি Content License-এ বর্ণিত লাইসেন্সের অধীনস্থ। Java এবং OpenJDK হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Overview\n\n*Power management* is critical to automotive apps, and power\nrequirements differ vastly from mobile devices, including:\n\n- Near-zero power consumption while the vehicle is parked. The vehicle should still have enough battery charge to start, even after many months.\n- Extremely fast power-on response for rear-view camera, audio, and splash screen (before Android itself boots).\n- Quick boot into Android home screen so that user can interact with the device.\n- Resume/restore app states (such as the radio station and navigation guidance) after power cycle.\n\nThe Android Automotive team is addressing automotive-specific power\nmanagement issues with a new power management scheme, including:\n\n- [Power policy](/docs/automotive/power/power_policy). Learn how to ensure that hardware and software components (such as display, audio, and voice interaction) are selectively turned on and off as needed.\n- [Power management](/docs/automotive/power/power). Defines the power state machine used by Android Automotive, provides example sleep/shutdown/wake sequences, and lists the Vehicle HAL properties related to power management.\n- [Garage Mode](/docs/automotive/power/garage_mode). Defines a low power mode in which the vehicle executes necessary maintenance tasks (such as OS and app updates) while the vehicle is parked.\n- [Managing boot time](/docs/automotive/power/boot_time). Defines differences between the Android and Android Automotive boot processes, provides tips for optimizing boot time, and gives instructions for starting services such as the rear view camera early in the boot sequence.\n\nHardware architecture\n---------------------\n\nAs illustrated in the figure below, the Vehicle Microcontroller Unit (VMCU):\n\n- Interfaces with the vehicle's native interface. For example, the Controller Area Network (CAN) bus.\n- Controls the power of the app processor (AP), which handles infotainment, presuming the AP is powered by Android.\n- Communicates to the AP through the data bus and general purpose I/O (GPIO) pins to inform activities such as state transitions. \n\n **Figure 1.** Hardware blocks\n\nOn vehicle power off, the AP enters into one of the following states:\n\n- **Sleep** occurs when the VMCU decides to retain the AP's\n main power for instant wake-up. Typically, a wake-up signal would be sent to\n the AP through the GPIO.\n\n- **Hibernation** occurs when the VMCU decides to keep the memory contents while\n cutting the main power. Typically, The AP loades the saved memory contents at the next power on.\n\n- **Shutdown** occurs when the VMCU decides to reserve\n battery. The AP must cold boot at next power on.\n\nThe VMCU-AP data bus must be a bidirectional interface such as Serial\nPeripheral Interface (SPI), and must be exposed in the Vehicle HAL. It may be\nused to send events such as:\n\n- AP display On or Off.\n- AP wake-up (can occur through the GPIO).\n- AP rear-view camera display On or Off.\n- AP shut-down complete (to the VMCU)."]]